apache-airflow-providers-standard 1.1.0rc1__tar.gz → 1.2.0__tar.gz
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.
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/PKG-INFO +8 -8
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/README.rst +4 -4
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/changelog.rst +34 -0
- apache_airflow_providers_standard-1.2.0/docs/commits.rst +35 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/index.rst +11 -4
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/operators/bash.rst +9 -9
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/operators/datetime.rst +4 -4
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/operators/latest_only.rst +1 -1
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/operators/python.rst +20 -20
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/operators/trigger_dag_run.rst +1 -1
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/sensors/bash.rst +1 -1
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/sensors/datetime.rst +5 -5
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/sensors/external_task_sensor.rst +4 -4
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/sensors/file.rst +2 -2
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/sensors/python.rst +2 -2
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/provider.yaml +6 -2
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/pyproject.toml +4 -4
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/__init__.py +3 -3
- apache_airflow_providers_standard-1.2.0/src/airflow/providers/standard/exceptions.py +57 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/python.py +70 -34
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/external_task.py +32 -11
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/time.py +1 -4
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/triggers/external_task.py +1 -3
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/triggers/temporal.py +1 -9
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/version_compat.py +0 -1
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_bash_decorator.py +120 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_bash_operator.py +80 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_branch_datetime_operator.py +113 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_branch_day_of_week_operator.py +67 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_branch_operator.py +172 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_branch_operator_decorator.py +148 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_external_task_child_deferrable.py +40 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_external_task_marker_dag.py +104 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_external_task_parent_deferrable.py +70 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_latest_only.py +46 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_python_decorator.py +138 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_python_operator.py +153 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_sensor_decorator.py +72 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_sensors.py +138 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_short_circuit_decorator.py +66 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_short_circuit_operator.py +72 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/example_trigger_controller_dag.py +52 -0
- apache_airflow_providers_standard-1.2.0/tests/system/standard/sql/sample.sql +24 -0
- apache_airflow_providers_standard-1.2.0/tests/unit/__init__.py +17 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_external_python.py +0 -11
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_python.py +180 -58
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_external_task_sensor.py +135 -28
- apache_airflow_providers_standard-1.2.0/tests/unit/standard/test_exceptions.py +110 -0
- apache_airflow_providers_standard-1.2.0/tests/unit/standard/triggers/__init__.py +16 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/triggers/test_external_task.py +40 -16
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/triggers/test_temporal.py +0 -41
- apache_airflow_providers_standard-1.2.0/tests/unit/standard/utils/__init__.py +16 -0
- apache_airflow_providers_standard-1.1.0rc1/docs/commits.rst +0 -273
- apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/operators/test_generic_transfer.py +0 -224
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/conf.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/configurations-ref.rst +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/installing-providers-from-sources.rst +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/operators/index.rst +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/security.rst +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/docs/sensors/index.rst +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/LICENSE +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/bash.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/branch_external_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/branch_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/branch_virtualenv.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/external_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/python_virtualenv.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/sensor.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/decorators/short_circuit.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/get_provider_info.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/hooks/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/hooks/filesystem.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/hooks/package_index.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/hooks/subprocess.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/bash.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/branch.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/datetime.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/empty.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/latest_only.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/smooth.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/trigger_dagrun.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/operators/weekday.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/bash.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/date_time.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/filesystem.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/time_delta.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/sensors/weekday.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/triggers/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/triggers/file.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/utils/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/utils/python_virtualenv.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/utils/python_virtualenv_script.jinja2 +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/utils/sensor_helper.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/utils/skipmixin.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/src/airflow/providers/standard/utils/weekday.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/conftest.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit → apache_airflow_providers_standard-1.2.0/tests/system}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit → apache_airflow_providers_standard-1.2.0/tests/system}/standard/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/decorators → apache_airflow_providers_standard-1.2.0/tests/system/standard/sql}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/hooks → apache_airflow_providers_standard-1.2.0/tests/unit/standard}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/operators → apache_airflow_providers_standard-1.2.0/tests/unit/standard/decorators}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_bash.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_branch_external_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_branch_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_branch_virtualenv.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_python_virtualenv.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_sensor.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/decorators/test_short_circuit.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/sensors → apache_airflow_providers_standard-1.2.0/tests/unit/standard/hooks}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/hooks/test_filesystem.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/hooks/test_package_index.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/hooks/test_subprocess.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/triggers → apache_airflow_providers_standard-1.2.0/tests/unit/standard/operators}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_bash.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_branch_operator.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_datetime.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_latest_only_operator.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_smooth.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_trigger_dagrun.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/operators/test_weekday.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1/tests/unit/standard/utils → apache_airflow_providers_standard-1.2.0/tests/unit/standard/sensors}/__init__.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_bash.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_date_time.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_python.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_time.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_time_delta.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/sensors/test_weekday.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/triggers/test_file.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/utils/test_python_virtualenv.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/utils/test_sensor_helper.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/utils/test_skipmixin.py +0 -0
- {apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/tests/unit/standard/utils/test_weekday.py +0 -0
{apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-standard
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Provider package apache-airflow-providers-standard for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,standard,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -20,10 +20,10 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
|
23
|
-
Requires-Dist: apache-airflow>=2.
|
|
23
|
+
Requires-Dist: apache-airflow>=2.10.0
|
|
24
24
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
25
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.
|
|
26
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.
|
|
25
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.2.0/changelog.html
|
|
26
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.2.0
|
|
27
27
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
28
28
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
29
29
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -54,7 +54,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
|
54
54
|
|
|
55
55
|
Package ``apache-airflow-providers-standard``
|
|
56
56
|
|
|
57
|
-
Release: ``1.
|
|
57
|
+
Release: ``1.2.0``
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
Airflow Standard Provider
|
|
@@ -67,7 +67,7 @@ This is a provider package for ``standard`` provider. All classes for this provi
|
|
|
67
67
|
are in ``airflow.providers.standard`` python package.
|
|
68
68
|
|
|
69
69
|
You can find package information and changelog for the provider
|
|
70
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.
|
|
70
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.2.0/>`_.
|
|
71
71
|
|
|
72
72
|
Installation
|
|
73
73
|
------------
|
|
@@ -84,9 +84,9 @@ Requirements
|
|
|
84
84
|
================== ==================
|
|
85
85
|
PIP package Version required
|
|
86
86
|
================== ==================
|
|
87
|
-
``apache-airflow`` ``>=2.
|
|
87
|
+
``apache-airflow`` ``>=2.10.0``
|
|
88
88
|
================== ==================
|
|
89
89
|
|
|
90
90
|
The changelog for the provider package can be found in the
|
|
91
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.
|
|
91
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.2.0/changelog.html>`_.
|
|
92
92
|
|
{apache_airflow_providers_standard-1.1.0rc1 → apache_airflow_providers_standard-1.2.0}/README.rst
RENAMED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
Package ``apache-airflow-providers-standard``
|
|
25
25
|
|
|
26
|
-
Release: ``1.
|
|
26
|
+
Release: ``1.2.0``
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
Airflow Standard Provider
|
|
@@ -36,7 +36,7 @@ This is a provider package for ``standard`` provider. All classes for this provi
|
|
|
36
36
|
are in ``airflow.providers.standard`` python package.
|
|
37
37
|
|
|
38
38
|
You can find package information and changelog for the provider
|
|
39
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.
|
|
39
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.2.0/>`_.
|
|
40
40
|
|
|
41
41
|
Installation
|
|
42
42
|
------------
|
|
@@ -53,8 +53,8 @@ Requirements
|
|
|
53
53
|
================== ==================
|
|
54
54
|
PIP package Version required
|
|
55
55
|
================== ==================
|
|
56
|
-
``apache-airflow`` ``>=2.
|
|
56
|
+
``apache-airflow`` ``>=2.10.0``
|
|
57
57
|
================== ==================
|
|
58
58
|
|
|
59
59
|
The changelog for the provider package can be found in the
|
|
60
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.
|
|
60
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.2.0/changelog.html>`_.
|
|
@@ -35,6 +35,40 @@
|
|
|
35
35
|
Changelog
|
|
36
36
|
---------
|
|
37
37
|
|
|
38
|
+
1.2.0
|
|
39
|
+
.....
|
|
40
|
+
|
|
41
|
+
.. note::
|
|
42
|
+
This release of provider is only available for Airflow 2.10+ as explained in the
|
|
43
|
+
Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>_.
|
|
44
|
+
|
|
45
|
+
Bug Fixes
|
|
46
|
+
~~~~~~~~~
|
|
47
|
+
|
|
48
|
+
* ``Flattening the 'requirements' input for python venv operators (#50521)``
|
|
49
|
+
* ``Preserve all context keys during serialization (#50446)``
|
|
50
|
+
* ``Use latest bundle version when clearing / re-running dag (#50040)``
|
|
51
|
+
* ``Update 'WorkflowTrigger' to forward failed_stat (#50487)``
|
|
52
|
+
|
|
53
|
+
Misc
|
|
54
|
+
~~~~
|
|
55
|
+
|
|
56
|
+
* ``Adding deprecation notice for get_current_context in std provider (#50301)``
|
|
57
|
+
* ``Refactor Branch Operators to use 'BaseBranchOperator' (#48979)``
|
|
58
|
+
* ``Remove AIRFLOW_2_10_PLUS conditions (#49877)``
|
|
59
|
+
* ``Bump min Airflow version in providers to 2.10 (#49843)``
|
|
60
|
+
* ``refactor: Removed duplicate test_generic_transfer from wrong standard provider (#49786)``
|
|
61
|
+
|
|
62
|
+
Doc-only
|
|
63
|
+
~~~~~~~~
|
|
64
|
+
|
|
65
|
+
* ``Add back missing '[sources]' link in generated documentation's includes (#49978)``
|
|
66
|
+
|
|
67
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
68
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
69
|
+
* ``Update description of provider.yaml dependencies (#50231)``
|
|
70
|
+
* ``Avoid committing history for providers (#49907)``
|
|
71
|
+
|
|
38
72
|
1.1.0
|
|
39
73
|
.....
|
|
40
74
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
|
3
|
+
or more contributor license agreements. See the NOTICE file
|
|
4
|
+
distributed with this work for additional information
|
|
5
|
+
regarding copyright ownership. The ASF licenses this file
|
|
6
|
+
to you under the Apache License, Version 2.0 (the
|
|
7
|
+
"License"); you may not use this file except in compliance
|
|
8
|
+
with the License. You may obtain a copy of the License at
|
|
9
|
+
|
|
10
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
.. Unless required by applicable law or agreed to in writing,
|
|
13
|
+
software distributed under the License is distributed on an
|
|
14
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
+
KIND, either express or implied. See the License for the
|
|
16
|
+
specific language governing permissions and limitations
|
|
17
|
+
under the License.
|
|
18
|
+
|
|
19
|
+
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
|
|
20
|
+
|
|
21
|
+
.. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
|
|
22
|
+
`PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
|
|
23
|
+
|
|
24
|
+
.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN!
|
|
25
|
+
|
|
26
|
+
Package apache-airflow-providers-standard
|
|
27
|
+
------------------------------------------------------
|
|
28
|
+
|
|
29
|
+
Airflow Standard Provider
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
This is detailed commit list of changes for versions provider package: ``standard``.
|
|
33
|
+
For high-level changelog, see :doc:`package information including changelog <index>`.
|
|
34
|
+
|
|
35
|
+
.. airflow-providers-commits::
|
|
@@ -38,17 +38,24 @@
|
|
|
38
38
|
Sensors <sensors/index>
|
|
39
39
|
Configuration <configurations-ref>
|
|
40
40
|
|
|
41
|
+
.. toctree::
|
|
42
|
+
:hidden:
|
|
43
|
+
:maxdepth: 1
|
|
44
|
+
:caption: System tests
|
|
45
|
+
|
|
46
|
+
System Tests <_api/tests/system/standard/index>
|
|
47
|
+
|
|
41
48
|
.. toctree::
|
|
42
49
|
:hidden:
|
|
43
50
|
:maxdepth: 1
|
|
44
51
|
:caption: Resources
|
|
45
52
|
|
|
53
|
+
Example DAGs <https://github.com/apache/airflow/tree/providers-standard/|version|/providers/standard/tests/system/standard>
|
|
46
54
|
PyPI Repository <https://pypi.org/project/apache-airflow-providers-standard/>
|
|
47
55
|
Installing from sources <installing-providers-from-sources>
|
|
48
56
|
Python API <_api/airflow/providers/standard/index>
|
|
49
57
|
|
|
50
58
|
|
|
51
|
-
|
|
52
59
|
.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
|
|
53
60
|
|
|
54
61
|
|
|
@@ -66,7 +73,7 @@ apache-airflow-providers-standard package
|
|
|
66
73
|
Airflow Standard Provider
|
|
67
74
|
|
|
68
75
|
|
|
69
|
-
Release: 1.
|
|
76
|
+
Release: 1.2.0
|
|
70
77
|
|
|
71
78
|
Provider package
|
|
72
79
|
----------------
|
|
@@ -84,10 +91,10 @@ For the minimum Airflow version supported, see ``Requirements`` below.
|
|
|
84
91
|
Requirements
|
|
85
92
|
------------
|
|
86
93
|
|
|
87
|
-
The minimum Apache Airflow version supported by this provider distribution is ``2.
|
|
94
|
+
The minimum Apache Airflow version supported by this provider distribution is ``2.10.0``.
|
|
88
95
|
|
|
89
96
|
================== ==================
|
|
90
97
|
PIP package Version required
|
|
91
98
|
================== ==================
|
|
92
|
-
``apache-airflow`` ``>=2.
|
|
99
|
+
``apache-airflow`` ``>=2.10.0``
|
|
93
100
|
================== ==================
|
|
@@ -41,7 +41,7 @@ determined by:
|
|
|
41
41
|
.. tab-item:: @task.bash
|
|
42
42
|
:sync: taskflow
|
|
43
43
|
|
|
44
|
-
.. exampleinclude::
|
|
44
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_decorator.py
|
|
45
45
|
:language: python
|
|
46
46
|
:dedent: 4
|
|
47
47
|
:start-after: [START howto_decorator_bash]
|
|
@@ -50,7 +50,7 @@ determined by:
|
|
|
50
50
|
.. tab-item:: BashOperator
|
|
51
51
|
:sync: operator
|
|
52
52
|
|
|
53
|
-
.. exampleinclude::
|
|
53
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_operator.py
|
|
54
54
|
:language: python
|
|
55
55
|
:dedent: 4
|
|
56
56
|
:start-after: [START howto_operator_bash]
|
|
@@ -67,7 +67,7 @@ You can use :ref:`Jinja templates <concepts:jinja-templating>` to parameterize t
|
|
|
67
67
|
.. tab-item:: @task.bash
|
|
68
68
|
:sync: taskflow
|
|
69
69
|
|
|
70
|
-
.. exampleinclude::
|
|
70
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_decorator.py
|
|
71
71
|
:language: python
|
|
72
72
|
:dedent: 4
|
|
73
73
|
:start-after: [START howto_decorator_bash_template]
|
|
@@ -76,7 +76,7 @@ You can use :ref:`Jinja templates <concepts:jinja-templating>` to parameterize t
|
|
|
76
76
|
.. tab-item:: BashOperator
|
|
77
77
|
:sync: operator
|
|
78
78
|
|
|
79
|
-
.. exampleinclude::
|
|
79
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_operator.py
|
|
80
80
|
:language: python
|
|
81
81
|
:dedent: 4
|
|
82
82
|
:start-after: [START howto_operator_bash_template]
|
|
@@ -85,7 +85,7 @@ You can use :ref:`Jinja templates <concepts:jinja-templating>` to parameterize t
|
|
|
85
85
|
Using the ``@task.bash`` TaskFlow decorator allows you to return a formatted string and take advantage of
|
|
86
86
|
having all :ref:`execution context variables directly accessible to decorated tasks <taskflow/accessing_context_variables>`.
|
|
87
87
|
|
|
88
|
-
.. exampleinclude::
|
|
88
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_decorator.py
|
|
89
89
|
:language: python
|
|
90
90
|
:dedent: 4
|
|
91
91
|
:start-after: [START howto_decorator_bash_context_vars]
|
|
@@ -169,7 +169,7 @@ exit code if you pass ``skip_on_exit_code``).
|
|
|
169
169
|
.. tab-item:: @task.bash
|
|
170
170
|
:sync: taskflow
|
|
171
171
|
|
|
172
|
-
.. exampleinclude::
|
|
172
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_decorator.py
|
|
173
173
|
:language: python
|
|
174
174
|
:dedent: 4
|
|
175
175
|
:start-after: [START howto_decorator_bash_skip]
|
|
@@ -178,7 +178,7 @@ exit code if you pass ``skip_on_exit_code``).
|
|
|
178
178
|
.. tab-item:: BashOperator
|
|
179
179
|
:sync: operator
|
|
180
180
|
|
|
181
|
-
.. exampleinclude::
|
|
181
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_operator.py
|
|
182
182
|
:language: python
|
|
183
183
|
:start-after: [START howto_operator_bash_skip]
|
|
184
184
|
:end-before: [END howto_operator_bash_skip]
|
|
@@ -388,7 +388,7 @@ or even build the Bash command(s) to execute.
|
|
|
388
388
|
|
|
389
389
|
For example, use conditional logic to determine task behavior:
|
|
390
390
|
|
|
391
|
-
.. exampleinclude::
|
|
391
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_decorator.py
|
|
392
392
|
:language: python
|
|
393
393
|
:dedent: 4
|
|
394
394
|
:start-after: [START howto_decorator_bash_conditional]
|
|
@@ -396,7 +396,7 @@ For example, use conditional logic to determine task behavior:
|
|
|
396
396
|
|
|
397
397
|
Or call a function to help build a Bash command:
|
|
398
398
|
|
|
399
|
-
.. exampleinclude::
|
|
399
|
+
.. exampleinclude:: /../tests/system/standard/example_bash_decorator.py
|
|
400
400
|
:language: python
|
|
401
401
|
:dedent: 4
|
|
402
402
|
:start-after: [START howto_decorator_bash_build_cmd]
|
|
@@ -39,7 +39,7 @@ take some time between when the DAGRun was scheduled and executed and it might m
|
|
|
39
39
|
the DAGRun was scheduled properly, the actual time used for branching decision will be different than the
|
|
40
40
|
schedule time and the branching decision might be different depending on those delays.
|
|
41
41
|
|
|
42
|
-
.. exampleinclude::
|
|
42
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_datetime_operator.py
|
|
43
43
|
:language: python
|
|
44
44
|
:start-after: [START howto_branch_datetime_operator]
|
|
45
45
|
:end-before: [END howto_branch_datetime_operator]
|
|
@@ -50,7 +50,7 @@ the current date in order to allow comparisons with it. In the event that ``targ
|
|
|
50
50
|
to a ``datetime.time`` that occurs before the given ``target_lower``, a day will be added to ``target_upper``.
|
|
51
51
|
This is done to allow for time periods that span over two dates.
|
|
52
52
|
|
|
53
|
-
.. exampleinclude::
|
|
53
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_datetime_operator.py
|
|
54
54
|
:language: python
|
|
55
55
|
:start-after: [START howto_branch_datetime_operator_next_day]
|
|
56
56
|
:end-before: [END howto_branch_datetime_operator_next_day]
|
|
@@ -66,7 +66,7 @@ The usage is much more "data range" friendly. The ``logical_date`` does not chan
|
|
|
66
66
|
it is not affected by execution delays, so this approach is suitable for idempotent DAG runs that might be
|
|
67
67
|
back-filled.
|
|
68
68
|
|
|
69
|
-
.. exampleinclude::
|
|
69
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_datetime_operator.py
|
|
70
70
|
:language: python
|
|
71
71
|
:start-after: [START howto_branch_datetime_operator_logical_date]
|
|
72
72
|
:end-before: [END howto_branch_datetime_operator_logical_date]
|
|
@@ -78,7 +78,7 @@ BranchDayOfWeekOperator
|
|
|
78
78
|
|
|
79
79
|
Use the :class:`~airflow.providers.standard.operators.weekday.BranchDayOfWeekOperator` to branch your workflow based on week day value.
|
|
80
80
|
|
|
81
|
-
.. exampleinclude::
|
|
81
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_day_of_week_operator.py
|
|
82
82
|
:language: python
|
|
83
83
|
:dedent: 4
|
|
84
84
|
:start-after: [START howto_operator_day_of_week_branch]
|
|
@@ -24,7 +24,7 @@ LatestOnlyOperator
|
|
|
24
24
|
|
|
25
25
|
Use the :class:`~airflow.providers.standard.operators.latest_only.LatestOnlyOperator`.
|
|
26
26
|
|
|
27
|
-
.. exampleinclude::
|
|
27
|
+
.. exampleinclude:: /../tests/system/standard/example_latest_only.py
|
|
28
28
|
:language: python
|
|
29
29
|
:dedent: 4
|
|
30
30
|
:start-after: [START howto_operator_latest_only]
|
|
@@ -32,7 +32,7 @@ Use the :class:`~airflow.providers.standard.operators.python.PythonOperator` to
|
|
|
32
32
|
.. tab-item:: @task
|
|
33
33
|
:sync: taskflow
|
|
34
34
|
|
|
35
|
-
.. exampleinclude::
|
|
35
|
+
.. exampleinclude:: /../tests/system/standard/example_python_decorator.py
|
|
36
36
|
:language: python
|
|
37
37
|
:dedent: 4
|
|
38
38
|
:start-after: [START howto_operator_python]
|
|
@@ -41,7 +41,7 @@ Use the :class:`~airflow.providers.standard.operators.python.PythonOperator` to
|
|
|
41
41
|
.. tab-item:: PythonOperator
|
|
42
42
|
:sync: operator
|
|
43
43
|
|
|
44
|
-
.. exampleinclude::
|
|
44
|
+
.. exampleinclude:: /../tests/system/standard/example_python_operator.py
|
|
45
45
|
:language: python
|
|
46
46
|
:dedent: 4
|
|
47
47
|
:start-after: [START howto_operator_python]
|
|
@@ -57,7 +57,7 @@ Pass extra arguments to the ``@task`` decorated function as you would with a nor
|
|
|
57
57
|
.. tab-item:: @task
|
|
58
58
|
:sync: taskflow
|
|
59
59
|
|
|
60
|
-
.. exampleinclude::
|
|
60
|
+
.. exampleinclude:: /../tests/system/standard/example_python_decorator.py
|
|
61
61
|
:language: python
|
|
62
62
|
:dedent: 4
|
|
63
63
|
:start-after: [START howto_operator_python_kwargs]
|
|
@@ -66,7 +66,7 @@ Pass extra arguments to the ``@task`` decorated function as you would with a nor
|
|
|
66
66
|
.. tab-item:: PythonOperator
|
|
67
67
|
:sync: operator
|
|
68
68
|
|
|
69
|
-
.. exampleinclude::
|
|
69
|
+
.. exampleinclude:: /../tests/system/standard/example_python_operator.py
|
|
70
70
|
:language: python
|
|
71
71
|
:dedent: 4
|
|
72
72
|
:start-after: [START howto_operator_python_kwargs]
|
|
@@ -87,7 +87,7 @@ is evaluated as a :ref:`Jinja template <concepts:jinja-templating>`.
|
|
|
87
87
|
.. tab-item:: @task
|
|
88
88
|
:sync: taskflow
|
|
89
89
|
|
|
90
|
-
.. exampleinclude::
|
|
90
|
+
.. exampleinclude:: /../tests/system/standard/example_python_decorator.py
|
|
91
91
|
:language: python
|
|
92
92
|
:dedent: 4
|
|
93
93
|
:start-after: [START howto_operator_python_render_sql]
|
|
@@ -96,7 +96,7 @@ is evaluated as a :ref:`Jinja template <concepts:jinja-templating>`.
|
|
|
96
96
|
.. tab-item:: PythonOperator
|
|
97
97
|
:sync: operator
|
|
98
98
|
|
|
99
|
-
.. exampleinclude::
|
|
99
|
+
.. exampleinclude:: /../tests/system/standard/example_python_operator.py
|
|
100
100
|
:language: python
|
|
101
101
|
:dedent: 4
|
|
102
102
|
:start-after: [START howto_operator_python_render_sql]
|
|
@@ -137,7 +137,7 @@ smoother data exchange, while still effectively handling common Python objects a
|
|
|
137
137
|
.. tab-item:: @task.virtualenv
|
|
138
138
|
:sync: taskflow
|
|
139
139
|
|
|
140
|
-
.. exampleinclude::
|
|
140
|
+
.. exampleinclude:: /../tests/system/standard/example_python_decorator.py
|
|
141
141
|
:language: python
|
|
142
142
|
:dedent: 4
|
|
143
143
|
:start-after: [START howto_operator_python_venv]
|
|
@@ -146,7 +146,7 @@ smoother data exchange, while still effectively handling common Python objects a
|
|
|
146
146
|
.. tab-item:: PythonVirtualenvOperator
|
|
147
147
|
:sync: operator
|
|
148
148
|
|
|
149
|
-
.. exampleinclude::
|
|
149
|
+
.. exampleinclude:: /../tests/system/standard/example_python_operator.py
|
|
150
150
|
:language: python
|
|
151
151
|
:dedent: 4
|
|
152
152
|
:start-after: [START howto_operator_python_venv]
|
|
@@ -251,7 +251,7 @@ in main Airflow environment).
|
|
|
251
251
|
.. tab-item:: @task.external_python
|
|
252
252
|
:sync: taskflow
|
|
253
253
|
|
|
254
|
-
.. exampleinclude::
|
|
254
|
+
.. exampleinclude:: /../tests/system/standard/example_python_decorator.py
|
|
255
255
|
:language: python
|
|
256
256
|
:dedent: 4
|
|
257
257
|
:start-after: [START howto_operator_external_python]
|
|
@@ -260,7 +260,7 @@ in main Airflow environment).
|
|
|
260
260
|
.. tab-item:: ExternalPythonOperator
|
|
261
261
|
:sync: operator
|
|
262
262
|
|
|
263
|
-
.. exampleinclude::
|
|
263
|
+
.. exampleinclude:: /../tests/system/standard/example_python_operator.py
|
|
264
264
|
:language: python
|
|
265
265
|
:dedent: 4
|
|
266
266
|
:start-after: [START howto_operator_external_python]
|
|
@@ -308,7 +308,7 @@ tasks.
|
|
|
308
308
|
.. tab-item:: @task.branch
|
|
309
309
|
:sync: taskflow
|
|
310
310
|
|
|
311
|
-
.. exampleinclude::
|
|
311
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_operator_decorator.py
|
|
312
312
|
:language: python
|
|
313
313
|
:dedent: 4
|
|
314
314
|
:start-after: [START howto_operator_branch_python]
|
|
@@ -317,7 +317,7 @@ tasks.
|
|
|
317
317
|
.. tab-item:: PythonBranchOperator
|
|
318
318
|
:sync: operator
|
|
319
319
|
|
|
320
|
-
.. exampleinclude::
|
|
320
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_operator.py
|
|
321
321
|
:language: python
|
|
322
322
|
:dedent: 4
|
|
323
323
|
:start-after: [START howto_operator_branch_python]
|
|
@@ -345,7 +345,7 @@ tasks and is a hybrid of the :class:`~airflow.providers.standard.operators.pytho
|
|
|
345
345
|
.. tab-item:: @task.branch_virtualenv
|
|
346
346
|
:sync: taskflow
|
|
347
347
|
|
|
348
|
-
.. exampleinclude::
|
|
348
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_operator_decorator.py
|
|
349
349
|
:language: python
|
|
350
350
|
:dedent: 4
|
|
351
351
|
:start-after: [START howto_operator_branch_virtualenv]
|
|
@@ -354,7 +354,7 @@ tasks and is a hybrid of the :class:`~airflow.providers.standard.operators.pytho
|
|
|
354
354
|
.. tab-item:: BranchPythonVirtualenvOperator
|
|
355
355
|
:sync: operator
|
|
356
356
|
|
|
357
|
-
.. exampleinclude::
|
|
357
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_operator.py
|
|
358
358
|
:language: python
|
|
359
359
|
:dedent: 4
|
|
360
360
|
:start-after: [START howto_operator_branch_virtualenv]
|
|
@@ -383,7 +383,7 @@ external Python environment.
|
|
|
383
383
|
.. tab-item:: @task.branch_external_python
|
|
384
384
|
:sync: taskflow
|
|
385
385
|
|
|
386
|
-
.. exampleinclude::
|
|
386
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_operator_decorator.py
|
|
387
387
|
:language: python
|
|
388
388
|
:dedent: 4
|
|
389
389
|
:start-after: [START howto_operator_branch_ext_py]
|
|
@@ -392,7 +392,7 @@ external Python environment.
|
|
|
392
392
|
.. tab-item:: BranchExternalPythonOperator
|
|
393
393
|
:sync: operator
|
|
394
394
|
|
|
395
|
-
.. exampleinclude::
|
|
395
|
+
.. exampleinclude:: /../tests/system/standard/example_branch_operator.py
|
|
396
396
|
:language: python
|
|
397
397
|
:dedent: 4
|
|
398
398
|
:start-after: [START howto_operator_branch_ext_py]
|
|
@@ -428,7 +428,7 @@ skipped.
|
|
|
428
428
|
.. tab-item:: @task.short_circuit
|
|
429
429
|
:sync: taskflow
|
|
430
430
|
|
|
431
|
-
.. exampleinclude::
|
|
431
|
+
.. exampleinclude:: /../tests/system/standard/example_short_circuit_decorator.py
|
|
432
432
|
:language: python
|
|
433
433
|
:dedent: 4
|
|
434
434
|
:start-after: [START howto_operator_short_circuit]
|
|
@@ -437,7 +437,7 @@ skipped.
|
|
|
437
437
|
.. tab-item:: ShortCircuitOperator
|
|
438
438
|
:sync: operator
|
|
439
439
|
|
|
440
|
-
.. exampleinclude::
|
|
440
|
+
.. exampleinclude:: /../tests/system/standard/example_short_circuit_operator.py
|
|
441
441
|
:language: python
|
|
442
442
|
:dedent: 4
|
|
443
443
|
:start-after: [START howto_operator_short_circuit]
|
|
@@ -463,7 +463,7 @@ tasks have completed running regardless of status (i.e. the ``TriggerRule.ALL_DO
|
|
|
463
463
|
.. tab-item:: @task.short_circuit
|
|
464
464
|
:sync: taskflow
|
|
465
465
|
|
|
466
|
-
.. exampleinclude::
|
|
466
|
+
.. exampleinclude:: /../tests/system/standard/example_short_circuit_decorator.py
|
|
467
467
|
:language: python
|
|
468
468
|
:dedent: 4
|
|
469
469
|
:start-after: [START howto_operator_short_circuit_trigger_rules]
|
|
@@ -472,7 +472,7 @@ tasks have completed running regardless of status (i.e. the ``TriggerRule.ALL_DO
|
|
|
472
472
|
.. tab-item:: ShortCircuitOperator
|
|
473
473
|
:sync: operator
|
|
474
474
|
|
|
475
|
-
.. exampleinclude::
|
|
475
|
+
.. exampleinclude:: /../tests/system/standard/example_short_circuit_operator.py
|
|
476
476
|
:language: python
|
|
477
477
|
:dedent: 4
|
|
478
478
|
:start-after: [START howto_operator_short_circuit_trigger_rules]
|
|
@@ -24,7 +24,7 @@ TriggerDagRunOperator
|
|
|
24
24
|
|
|
25
25
|
Use the :class:`~airflow.providers.standard.operators.trigger_dagrun.TriggerDagRunOperator` to trigger dag from another dag.
|
|
26
26
|
|
|
27
|
-
.. exampleinclude::
|
|
27
|
+
.. exampleinclude:: /../tests/system/standard/example_trigger_controller_dag.py
|
|
28
28
|
:language: python
|
|
29
29
|
:dedent: 4
|
|
30
30
|
:start-after: [START howto_operator_trigger_dagrun]
|
|
@@ -25,7 +25,7 @@ BashSensor
|
|
|
25
25
|
Use the :class:`~airflow.providers.standard.sensors.bash.BashSensor` to use arbitrary command for sensing. The command
|
|
26
26
|
should return 0 when it succeeds, any other value otherwise.
|
|
27
27
|
|
|
28
|
-
.. exampleinclude::
|
|
28
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
29
29
|
:language: python
|
|
30
30
|
:dedent: 4
|
|
31
31
|
:start-after: [START example_bash_sensors]
|
|
@@ -25,7 +25,7 @@ TimeDeltaSensor
|
|
|
25
25
|
Use the :class:`~airflow.providers.standard.sensors.time_delta.TimeDeltaSensor` to end sensing after specific time.
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
.. exampleinclude::
|
|
28
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
29
29
|
:language: python
|
|
30
30
|
:dedent: 4
|
|
31
31
|
:start-after: [START example_time_delta_sensor]
|
|
@@ -41,7 +41,7 @@ Use the :class:`~airflow.providers.standard.sensors.time_delta.TimeDeltaSensorAs
|
|
|
41
41
|
It is an async version of the operator and requires Triggerer to run.
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
.. exampleinclude::
|
|
44
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
45
45
|
:language: python
|
|
46
46
|
:dedent: 4
|
|
47
47
|
:start-after: [START example_time_delta_sensor_async]
|
|
@@ -58,7 +58,7 @@ Use the :class:`~airflow.providers.standard.sensors.time_sensor.TimeSensor` to e
|
|
|
58
58
|
|
|
59
59
|
Time will be evaluated against ``data_interval_end`` if present for the dag run, otherwise ``run_after`` will be used.
|
|
60
60
|
|
|
61
|
-
.. exampleinclude::
|
|
61
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
62
62
|
:language: python
|
|
63
63
|
:dedent: 4
|
|
64
64
|
:start-after: [START example_time_sensors]
|
|
@@ -75,7 +75,7 @@ It is an async version of the operator and requires Triggerer to run.
|
|
|
75
75
|
|
|
76
76
|
Time will be evaluated against ``data_interval_end`` if present for the dag run, otherwise ``run_after`` will be used.
|
|
77
77
|
|
|
78
|
-
.. exampleinclude::
|
|
78
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
79
79
|
:language: python
|
|
80
80
|
:dedent: 4
|
|
81
81
|
:start-after: [START example_time_sensors_async]
|
|
@@ -88,7 +88,7 @@ DayOfWeekSensor
|
|
|
88
88
|
|
|
89
89
|
Use the :class:`~airflow.sensors.weekday.DayOfWeekSensor` to sense for day of week.
|
|
90
90
|
|
|
91
|
-
.. exampleinclude::
|
|
91
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
92
92
|
:language: python
|
|
93
93
|
:dedent: 4
|
|
94
94
|
:start-after: [START example_day_of_week_sensor]
|
|
@@ -47,7 +47,7 @@ wait for another task on a different DAG for a specific ``execution_date``.
|
|
|
47
47
|
ExternalTaskSensor also provide options to set if the Task on a remote DAG succeeded or failed
|
|
48
48
|
via ``allowed_states`` and ``failed_states`` parameters.
|
|
49
49
|
|
|
50
|
-
.. exampleinclude::
|
|
50
|
+
.. exampleinclude:: /../tests/system/standard/example_external_task_marker_dag.py
|
|
51
51
|
:language: python
|
|
52
52
|
:dedent: 4
|
|
53
53
|
:start-after: [START howto_operator_external_task_sensor]
|
|
@@ -55,7 +55,7 @@ via ``allowed_states`` and ``failed_states`` parameters.
|
|
|
55
55
|
|
|
56
56
|
Also for this action you can use sensor in the deferrable mode:
|
|
57
57
|
|
|
58
|
-
.. exampleinclude::
|
|
58
|
+
.. exampleinclude:: /../tests/system/standard/example_external_task_parent_deferrable.py
|
|
59
59
|
:language: python
|
|
60
60
|
:dedent: 4
|
|
61
61
|
:start-after: [START howto_external_task_async_sensor]
|
|
@@ -67,7 +67,7 @@ ExternalTaskSensor with task_group dependency
|
|
|
67
67
|
In Addition, we can also use the :class:`~airflow.providers.standard.sensors.external_task.ExternalTaskSensor` to make tasks on a DAG
|
|
68
68
|
wait for another ``task_group`` on a different DAG for a specific ``execution_date``.
|
|
69
69
|
|
|
70
|
-
.. exampleinclude::
|
|
70
|
+
.. exampleinclude:: /../tests/system/standard/example_external_task_marker_dag.py
|
|
71
71
|
:language: python
|
|
72
72
|
:dedent: 4
|
|
73
73
|
:start-after: [START howto_operator_external_task_sensor_with_task_group]
|
|
@@ -81,7 +81,7 @@ on ``child_dag`` for a specific ``execution_date`` should also be cleared, ``Ext
|
|
|
81
81
|
should be used. Note that ``child_task1`` will only be cleared if "Recursive" is selected when the
|
|
82
82
|
user clears ``parent_task``.
|
|
83
83
|
|
|
84
|
-
.. exampleinclude::
|
|
84
|
+
.. exampleinclude:: /../tests/system/standard/example_external_task_marker_dag.py
|
|
85
85
|
:language: python
|
|
86
86
|
:dedent: 4
|
|
87
87
|
:start-after: [START howto_operator_external_task_marker]
|
|
@@ -26,7 +26,7 @@ Use the :class:`~airflow.providers.standard.sensors.filesystem.FileSensor` to de
|
|
|
26
26
|
filesystem. You need to have connection defined to use it (pass connection id via ``fs_conn_id``).
|
|
27
27
|
Default connection is ``fs_default``.
|
|
28
28
|
|
|
29
|
-
.. exampleinclude::
|
|
29
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
30
30
|
:language: python
|
|
31
31
|
:dedent: 4
|
|
32
32
|
:start-after: [START example_file_sensor]
|
|
@@ -34,7 +34,7 @@ Default connection is ``fs_default``.
|
|
|
34
34
|
|
|
35
35
|
Also for this job you can use sensor in the deferrable mode:
|
|
36
36
|
|
|
37
|
-
.. exampleinclude::
|
|
37
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
38
38
|
:language: python
|
|
39
39
|
:dedent: 4
|
|
40
40
|
:start-after: [START example_file_sensor_async]
|
|
@@ -34,7 +34,7 @@ value to be True.
|
|
|
34
34
|
.. tab-item:: @task.sensor
|
|
35
35
|
:sync: taskflow
|
|
36
36
|
|
|
37
|
-
.. exampleinclude::
|
|
37
|
+
.. exampleinclude:: /../tests/system/standard/example_sensor_decorator.py
|
|
38
38
|
:language: python
|
|
39
39
|
:dedent: 4
|
|
40
40
|
:start-after: [START wait_function]
|
|
@@ -43,7 +43,7 @@ value to be True.
|
|
|
43
43
|
.. tab-item:: PythonSensor
|
|
44
44
|
:sync: operator
|
|
45
45
|
|
|
46
|
-
.. exampleinclude::
|
|
46
|
+
.. exampleinclude:: /../tests/system/standard/example_sensors.py
|
|
47
47
|
:language: python
|
|
48
48
|
:dedent: 4
|
|
49
49
|
:start-after: [START example_python_sensors]
|