deploy_pretrained_model_request_model_info_input module

DeployPretrainedModelRequestModelInfoInput

class edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.DeployPretrainedModelRequestModelInfoInput(
		**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_input_time_series.DeployPretrainedModelInputTimeSeries]

  • oneof_schema_2_validator: Optional[edgeimpulse_api.models.deploy_pretrained_model_input_audio.DeployPretrainedModelInputAudio]

  • oneof_schema_3_validator: Optional[edgeimpulse_api.models.deploy_pretrained_model_input_image.DeployPretrainedModelInputImage]

  • oneof_schema_4_validator: Optional[edgeimpulse_api.models.deploy_pretrained_model_input_other.DeployPretrainedModelInputOther]

Static methods

actual_instance_must_validate_oneof

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.actual_instance_must_validate_oneof(
		v
)

Parameters

  • v

from_dict

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.from_dict(
		obj: dict
)> edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.DeployPretrainedModelRequestModelInfoInput

Parameters

  • obj: dict

Return

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.DeployPretrainedModelRequestModelInfoInput

from_json

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.from_json(
		json_str: str
)> edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.DeployPretrainedModelRequestModelInfoInput

Returns the object represented by the json string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.DeployPretrainedModelRequestModelInfoInput

Methods

to_dict

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

Returns the dict representation of the actual instance

Parameters

  • self

Return

dict

to_json

edgeimpulse_api.models.deploy_pretrained_model_request_model_info_input.to_json(