optimize_state_response module

OptimizeStateResponse

class edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse(
		**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

  • config: edgeimpulse_api.models.optimize_config.OptimizeConfig

  • error: Optional[pydantic.types.StrictStr]

  • job_error: Optional[pydantic.types.StrictStr]

  • next_run_index: pydantic.types.StrictInt

  • project_data_type: pydantic.types.StrictStr

  • status: edgeimpulse_api.models.optimize_state_response_all_of_status.OptimizeStateResponseAllOfStatus

  • success: pydantic.types.StrictBool

  • trials: List[edgeimpulse_api.models.tuner_trial.TunerTrial]

  • tuner_coordinator_job_id: Optional[pydantic.types.StrictInt]

  • tuner_job_id: Optional[pydantic.types.StrictInt]

  • tuner_job_is_running: pydantic.types.StrictBool

  • workers: List[edgeimpulse_api.models.optimize_state_response_all_of_workers.OptimizeStateResponseAllOfWorkers]

Static methods

from_dict

edgeimpulse_api.models.optimize_state_response.from_dict(
		obj: dict
)> edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse

Create an instance of OptimizeStateResponse from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse

from_json

edgeimpulse_api.models.optimize_state_response.from_json(
		json_str: str
)> edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse

Create an instance of OptimizeStateResponse from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse

project_data_type_validate_enum

edgeimpulse_api.models.optimize_state_response.project_data_type_validate_enum(
		v
)

Parameters

  • v

Methods

to_dict

edgeimpulse_api.models.optimize_state_response.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self