Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Parameters
**data: Any
Bases
pydantic.main.BaseModel
pydantic.utils.Representation
Class variables
Config
actual_instance: Any
one_of_schemas: List[str]
oneof_schema_1_validator: edgeimpulse_api.models.block_params_visual_anomaly_patchcore.BlockParamsVisualAnomalyPatchcore | None
oneof_schema_2_validator: edgeimpulse_api.models.block_params_visual_anomaly_gmm.BlockParamsVisualAnomalyGmm | None
Parameters
v
Parameters
obj: dict
Return
edgeimpulse_api.models.block_parameters.BlockParameters
Returns the object represented by the json string
Parameters
json_str: str
Return
edgeimpulse_api.models.block_parameters.BlockParameters
Returns the dict representation of the actual instance
Parameters
self
Return
dict
Returns the JSON representation of the actual instance
Parameters
self
indent=None
Return
str
Returns the string representation of the actual instance
Parameters
self
Return
str