deploy_pretrained_model_request_model_info_model module

DeployPretrainedModelRequestModelInfoModel

class edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.DeployPretrainedModelRequestModelInfoModel(
		**data: Any
)

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.deploy_pretrained_model_model_classification.DeployPretrainedModelModelClassification]

  • oneof_schema_2_validator: Optional[edgeimpulse_api.models.deploy_pretrained_model_model_regression.DeployPretrainedModelModelRegression]

  • oneof_schema_3_validator: Optional[edgeimpulse_api.models.deploy_pretrained_model_model_object_detection.DeployPretrainedModelModelObjectDetection]

Static methods

actual_instance_must_validate_oneof

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.actual_instance_must_validate_oneof(
		v
)

Parameters

  • v

from_dict

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.from_dict(
		obj: dict
)> edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.DeployPretrainedModelRequestModelInfoModel

Parameters

  • obj: dict

Return

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.DeployPretrainedModelRequestModelInfoModel

from_json

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.from_json(
		json_str: str
)> edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.DeployPretrainedModelRequestModelInfoModel

Returns the object represented by the json string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.DeployPretrainedModelRequestModelInfoModel

Methods

to_dict

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_model.to_dict(
		self
)> dict

Returns the dict representation of the actual instance

Parameters

  • self

Return

dict

to_json