airflow.providers.edge3.worker_api.datamodels_ui¶
Classes¶
Details of the worker state sent to the scheduler. |
|
Worker Collection serializer. |
|
Details of the job sent to the scheduler. |
|
Job Collection serializer. |
Module Contents¶
- class airflow.providers.edge3.worker_api.datamodels_ui.Worker(/, **data)[source]¶
Bases:
airflow.providers.edge3.worker_api.datamodels.WorkerStateBody
Details of the worker state sent to the scheduler.
- first_online: Annotated[datetime.datetime | None, Field(description='When the worker was first online.')] = None[source]¶
- last_heartbeat: Annotated[datetime.datetime | None, Field(description='When the worker last sent a heartbeat.')] = None[source]¶
- class airflow.providers.edge3.worker_api.datamodels_ui.WorkerCollectionResponse(/, **data)[source]¶
Bases:
airflow.api_fastapi.core_api.base.BaseModel
Worker Collection serializer.
- class airflow.providers.edge3.worker_api.datamodels_ui.Job(/, **data)[source]¶
Bases:
airflow.providers.edge3.worker_api.datamodels.EdgeJobBase
Details of the job sent to the scheduler.
- state: Annotated[airflow.utils.state.TaskInstanceState, Field(description='State of the job from the view of the executor.')][source]¶
- queued_dttm: Annotated[datetime.datetime | None, Field(description='When the job was queued.')] = None[source]¶
- edge_worker: Annotated[str | None, Field(description='The worker processing the job during execution.')] = None[source]¶
- last_update: Annotated[datetime.datetime | None, Field(description='Last heartbeat of the job.')] = None[source]¶