Add a dict of constructor params for the DataValidator to the store. Parameters ---------- base_trace_node : TraceNode PlotlyNode that is the parent of all of the individual trace nodes store : dict Dictionary to store the JSON data for the validator Returns
(base_trace_node: TraceNode, store: dict)
| 33 | |
| 34 | |
| 35 | def get_data_validator_params(base_trace_node: TraceNode, store: dict): |
| 36 | """ |
| 37 | Add a dict of constructor params for the DataValidator to the store. |
| 38 | |
| 39 | Parameters |
| 40 | ---------- |
| 41 | base_trace_node : TraceNode |
| 42 | PlotlyNode that is the parent of all of the individual trace nodes |
| 43 | store : dict |
| 44 | Dictionary to store the JSON data for the validator |
| 45 | Returns |
| 46 | ------- |
| 47 | None""" |
| 48 | assert isinstance(store, dict) |
| 49 | |
| 50 | params = build_data_validator_params(base_trace_node) |
| 51 | store["data"] = { |
| 52 | "params": params, |
| 53 | "superclass": "BaseDataValidator", |
| 54 | } |
| 55 | |
| 56 | |
| 57 | def write_validator_json(outdir, params: dict): |
no test coverage detected