deploy_pretrained_model_request module#

class edgeimpulse_api.models.deploy_pretrained_model_request.DeployPretrainedModelRequest(
*,
modelFileBase64: StrictStr,
modelFileType: StrictStr,
deploymentType: StrictStr,
engine: DeploymentTargetEngine | None = None,
modelInfo: DeployPretrainedModelRequestModelInfo,
representativeFeaturesBase64: StrictStr | None = None,
deployModelType: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
deploy_model_type: StrictStr | None#
classmethod deploy_model_type_validate_enum(v)[source]#
deployment_type: StrictStr#
engine: DeploymentTargetEngine | None#
classmethod from_dict(
obj: dict,
) DeployPretrainedModelRequest[source]#

Create an instance of DeployPretrainedModelRequest from a dict

classmethod from_json(
json_str: str,
) DeployPretrainedModelRequest[source]#

Create an instance of DeployPretrainedModelRequest from a JSON string

model_file_base64: StrictStr#
model_file_type: StrictStr#
classmethod model_file_type_validate_enum(v)[source]#
model_info: DeployPretrainedModelRequestModelInfo#
representative_features_base64: StrictStr | None#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias