job module#

class edgeimpulse_api.models.job.Job(
*,
id: StrictInt,
category: StrictStr,
key: StrictStr,
created: datetime,
started: datetime | None = None,
finished: datetime | None = None,
finishedSuccessful: StrictBool | None = None,
jobNotificationUids: List[StrictInt],
additionalInfo: StrictStr | None = None,
computeTime: float | None = None,
createdByUser: JobCreatedByUser | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
additional_info: StrictStr | None#
category: StrictStr#
compute_time: float | None#
created: datetime#
created_by_user: JobCreatedByUser | None#
finished: datetime | None#
finished_successful: StrictBool | None#
classmethod from_dict(obj: dict) Job[source]#

Create an instance of Job from a dict

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

Create an instance of Job from a JSON string

id: StrictInt#
job_notification_uids: List[StrictInt]#
key: StrictStr#
started: datetime | 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