block_parameters module
BlockParameters
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: Optional[edgeimpulse_api.models.block_params_visual_anomaly_patchcore.BlockParamsVisualAnomalyPatchcore]
oneof_schema_2_validator: Optional[edgeimpulse_api.models.block_params_visual_anomaly_gmm.BlockParamsVisualAnomalyGmm]
Static methods
actual_instance_must_validate_oneof
Parameters
v
from_dict
Parameters
obj: dict
Return
edgeimpulse_api.models.block_parameters.BlockParameters
from_json
Returns the object represented by the json string
Parameters
json_str: str
Return
edgeimpulse_api.models.block_parameters.BlockParameters
Methods
to_dict
Returns the dict representation of the actual instance
Parameters
self
Return
dict
to_json
Returns the JSON representation of the actual instance
Parameters
self
indent=None
Return
str
to_str
Returns the string representation of the actual instance
Parameters
self
Return
str
Last updated