optimize_state_response module
OptimizeStateResponse
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
continuation_job_id: pydantic.types.StrictInt | None
error: pydantic.types.StrictStr | None
is_whitelabel: pydantic.types.StrictBool
job_error: pydantic.types.StrictStr | None
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: pydantic.types.StrictInt | None
tuner_job_id: pydantic.types.StrictInt | None
tuner_job_is_running: pydantic.types.StrictBool
tuning_algorithm: pydantic.types.StrictStr | None
workers: List[edgeimpulse_api.models.optimize_state_response_all_of_workers.OptimizeStateResponseAllOfWorkers]
Static methods
from_dict
Create an instance of OptimizeStateResponse from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse
from_json
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
Parameters
v
tuning_algorithm_validate_enum
Parameters
v
Methods
to_dict
Returns the dictionary representation of the model using alias
Parameters
self
to_json
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
to_str
Returns the string representation of the model using alias
Parameters
self
Return
str
Last updated