apache-airflow-providers-edge3 1.4.1rc2__py3-none-any.whl → 1.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airflow/providers/edge3/__init__.py +1 -1
- airflow/providers/edge3/cli/worker.py +5 -1
- airflow/providers/edge3/get_provider_info.py +7 -0
- airflow/providers/edge3/plugins/www/dist/main.umd.cjs +8 -100
- airflow/providers/edge3/plugins/www/package.json +18 -18
- airflow/providers/edge3/plugins/www/pnpm-lock.yaml +1291 -1185
- {apache_airflow_providers_edge3-1.4.1rc2.dist-info → apache_airflow_providers_edge3-1.5.0.dist-info}/METADATA +10 -8
- {apache_airflow_providers_edge3-1.4.1rc2.dist-info → apache_airflow_providers_edge3-1.5.0.dist-info}/RECORD +12 -11
- apache_airflow_providers_edge3-1.5.0.dist-info/licenses/NOTICE +5 -0
- {apache_airflow_providers_edge3-1.4.1rc2.dist-info → apache_airflow_providers_edge3-1.5.0.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_edge3-1.4.1rc2.dist-info → apache_airflow_providers_edge3-1.5.0.dist-info}/entry_points.txt +0 -0
- {airflow/providers/edge3 → apache_airflow_providers_edge3-1.5.0.dist-info/licenses}/LICENSE +0 -0
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "1.
|
|
32
|
+
__version__ = "1.5.0"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.10.0"
|
|
@@ -348,7 +348,11 @@ class EdgeWorker:
|
|
|
348
348
|
else:
|
|
349
349
|
used_concurrency += job.edge_job.concurrency_slots
|
|
350
350
|
|
|
351
|
-
if
|
|
351
|
+
if (
|
|
352
|
+
conf.getboolean("edge", "push_logs")
|
|
353
|
+
and job.logfile.exists()
|
|
354
|
+
and job.logfile.stat().st_size > job.logsize
|
|
355
|
+
):
|
|
352
356
|
with job.logfile.open("rb") as logfile:
|
|
353
357
|
push_log_chunk_size = conf.getint("edge", "push_log_chunk_size")
|
|
354
358
|
logfile.seek(job.logsize, os.SEEK_SET)
|
|
@@ -93,6 +93,13 @@ def get_provider_info():
|
|
|
93
93
|
"example": None,
|
|
94
94
|
"default": "524288",
|
|
95
95
|
},
|
|
96
|
+
"push_logs": {
|
|
97
|
+
"description": "Flag to enable or disable pushing of log files from edge worker to the central site.\nWhen enabled, edge workers will upload task log files in chunks to the central Airflow site.\nWhen disabled, logs will only be available locally on the edge worker.\n",
|
|
98
|
+
"version_added": "1.5.0",
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"example": "True",
|
|
101
|
+
"default": "True",
|
|
102
|
+
},
|
|
96
103
|
"worker_umask": {
|
|
97
104
|
"description": "The default umask to use for edge worker when run in daemon mode\n\nThis controls the file-creation mode mask which determines the initial value of file permission bits\nfor newly created files.\n\nThis value is treated as an octal-integer.\n",
|
|
98
105
|
"version_added": None,
|