airflow.providers.edge3.cli.worker¶
Attributes¶
Classes¶
Runner instance which executes the Edge Worker. |
Module Contents¶
- class airflow.providers.edge3.cli.worker.EdgeWorker(pid_file_path, hostname, queues, concurrency, daemon=False, team_name=None)[source]¶
Runner instance which executes the Edge Worker.
- jobs: list[airflow.providers.edge3.cli.dataclasses.Job] = [][source]¶
List of jobs that the worker is running currently.
- drain: bool = False[source]¶
Flag if job processing should be completed and no new jobs fetched for a graceful stop/shutdown.
- maintenance_mode: bool = False[source]¶
Flag if job processing should be completed and no new jobs fetched for maintenance mode.
- background_tasks: set[asyncio.Task][source]¶
- worker_start_time: datetime.datetime[source]¶
- extended_sysinfo: collections.abc.Callable[[], collections.abc.Awaitable[dict[str, str | int | float | datetime.datetime]]] | None = None[source]¶