job_step module#

class edgeimpulse_api.models.job_step.JobStep(
*,
ordinal: float,
progress: float | None = None,
name: StrictStr,
attempt: StrictInt | None = None,
failureDetails: JobFailureDetails | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
attempt: StrictInt | None#
failure_details: JobFailureDetails | None#
classmethod from_dict(obj: dict) JobStep[source]#

Create an instance of JobStep from a dict

classmethod from_json(json_str: str) JobStep[source]#

Create an instance of JobStep from a JSON string

name: StrictStr#
ordinal: float#
progress: float | 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