apache-airflow-providers-standard 1.9.0__tar.gz → 1.11.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.
Files changed (153) hide show
  1. apache_airflow_providers_standard-1.11.0/NOTICE +5 -0
  2. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/PKG-INFO +48 -13
  3. apache_airflow_providers_standard-1.11.0/README.rst +90 -0
  4. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/changelog.rst +182 -2
  5. apache_airflow_providers_standard-1.11.0/docs/index.rst +123 -0
  6. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/operators/bash.rst +1 -1
  7. apache_airflow_providers_standard-1.11.0/docs/operators/hitl.rst +44 -0
  8. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/operators/python.rst +39 -5
  9. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/sensors/datetime.rst +1 -16
  10. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/provider.yaml +9 -1
  11. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/pyproject.toml +16 -5
  12. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/__init__.py +3 -3
  13. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/bash.py +8 -15
  14. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/branch_external_python.py +2 -8
  15. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/branch_python.py +2 -7
  16. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/branch_virtualenv.py +2 -7
  17. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/external_python.py +2 -7
  18. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/python.py +2 -7
  19. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/python_virtualenv.py +2 -9
  20. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/sensor.py +2 -9
  21. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/short_circuit.py +2 -8
  22. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/stub.py +6 -12
  23. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_bash_decorator.py +2 -7
  24. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_branch_operator.py +1 -6
  25. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_branch_operator_decorator.py +1 -6
  26. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_external_task_parent_deferrable.py +2 -6
  27. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_hitl_operator.py +1 -1
  28. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_python_decorator.py +17 -0
  29. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_python_operator.py +18 -0
  30. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_sensors.py +1 -6
  31. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_short_circuit_decorator.py +1 -6
  32. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_short_circuit_operator.py +1 -6
  33. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/exceptions.py +1 -1
  34. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/get_provider_info.py +1 -0
  35. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/hooks/filesystem.py +1 -1
  36. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/hooks/package_index.py +1 -1
  37. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/hooks/subprocess.py +3 -10
  38. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/bash.py +8 -13
  39. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/branch.py +1 -1
  40. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/datetime.py +2 -7
  41. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/empty.py +1 -1
  42. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/hitl.py +21 -11
  43. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/latest_only.py +19 -15
  44. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/python.py +100 -15
  45. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/smooth.py +1 -1
  46. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/trigger_dagrun.py +98 -45
  47. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/weekday.py +2 -6
  48. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/bash.py +3 -9
  49. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/date_time.py +3 -22
  50. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/external_task.py +102 -59
  51. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/filesystem.py +2 -19
  52. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/python.py +2 -6
  53. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/time.py +2 -23
  54. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/time_delta.py +9 -12
  55. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/weekday.py +2 -7
  56. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/triggers/external_task.py +43 -40
  57. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/triggers/file.py +1 -1
  58. apache_airflow_providers_standard-1.11.0/src/airflow/providers/standard/triggers/hitl.py +237 -0
  59. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/triggers/temporal.py +1 -5
  60. apache_airflow_providers_standard-1.11.0/src/airflow/providers/standard/utils/openlineage.py +185 -0
  61. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/utils/python_virtualenv.py +38 -4
  62. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/utils/python_virtualenv_script.jinja2 +18 -3
  63. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/utils/sensor_helper.py +19 -8
  64. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/utils/skipmixin.py +3 -9
  65. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/version_compat.py +4 -21
  66. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_bash.py +41 -28
  67. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_branch_external_python.py +2 -2
  68. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_branch_python.py +2 -2
  69. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_branch_virtualenv.py +2 -2
  70. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_external_python.py +21 -20
  71. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_python.py +124 -56
  72. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_python_virtualenv.py +3 -3
  73. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_sensor.py +1 -1
  74. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_short_circuit.py +3 -3
  75. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/hooks/test_subprocess.py +4 -3
  76. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_bash.py +23 -23
  77. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_branch_operator.py +15 -6
  78. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_datetime.py +16 -15
  79. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_hitl.py +172 -51
  80. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_latest_only_operator.py +7 -7
  81. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_python.py +209 -103
  82. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_trigger_dagrun.py +516 -40
  83. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_weekday.py +10 -9
  84. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_bash.py +1 -1
  85. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_date_time.py +3 -3
  86. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_external_task_sensor.py +72 -33
  87. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_filesystem.py +1 -1
  88. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_python.py +1 -1
  89. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_time.py +4 -7
  90. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_time_delta.py +2 -1
  91. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/test_weekday.py +1 -1
  92. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/triggers/test_external_task.py +112 -1
  93. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/triggers/test_hitl.py +39 -13
  94. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/triggers/test_temporal.py +1 -1
  95. apache_airflow_providers_standard-1.11.0/tests/unit/standard/utils/test_openlineage.py +470 -0
  96. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/utils/test_python_virtualenv.py +55 -11
  97. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/utils/test_sensor_helper.py +11 -5
  98. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/utils/test_skipmixin.py +67 -84
  99. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/utils/test_weekday.py +2 -2
  100. apache_airflow_providers_standard-1.9.0/README.rst +0 -60
  101. apache_airflow_providers_standard-1.9.0/docs/index.rst +0 -93
  102. apache_airflow_providers_standard-1.9.0/src/airflow/providers/standard/triggers/hitl.py +0 -188
  103. {apache_airflow_providers_standard-1.9.0/src/airflow/providers/standard → apache_airflow_providers_standard-1.11.0}/LICENSE +0 -0
  104. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/commits.rst +0 -0
  105. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/conf.py +0 -0
  106. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/configurations-ref.rst +0 -0
  107. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/installing-providers-from-sources.rst +0 -0
  108. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/operators/datetime.rst +0 -0
  109. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/operators/index.rst +0 -0
  110. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/operators/latest_only.rst +0 -0
  111. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/operators/trigger_dag_run.rst +0 -0
  112. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/security.rst +0 -0
  113. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/sensors/bash.rst +0 -0
  114. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/sensors/external_task_sensor.rst +0 -0
  115. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/sensors/file.rst +0 -0
  116. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/sensors/index.rst +0 -0
  117. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/docs/sensors/python.rst +0 -0
  118. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/__init__.py +0 -0
  119. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/__init__.py +0 -0
  120. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/decorators/__init__.py +0 -0
  121. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/__init__.py +0 -0
  122. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_bash_operator.py +0 -0
  123. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_branch_datetime_operator.py +0 -0
  124. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_branch_day_of_week_operator.py +0 -0
  125. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_external_task_child_deferrable.py +0 -0
  126. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_external_task_marker_dag.py +0 -0
  127. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_latest_only.py +0 -0
  128. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_sensor_decorator.py +0 -0
  129. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/example_trigger_controller_dag.py +0 -0
  130. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/sql/__init__.py +0 -0
  131. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/example_dags/sql/sample.sql +0 -0
  132. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/hooks/__init__.py +0 -0
  133. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/models/__init__.py +0 -0
  134. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/operators/__init__.py +0 -0
  135. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/sensors/__init__.py +0 -0
  136. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/triggers/__init__.py +0 -0
  137. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/utils/__init__.py +0 -0
  138. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/src/airflow/providers/standard/utils/weekday.py +0 -0
  139. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/conftest.py +0 -0
  140. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/__init__.py +0 -0
  141. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/__init__.py +0 -0
  142. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/__init__.py +0 -0
  143. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/decorators/test_stub.py +0 -0
  144. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/hooks/__init__.py +0 -0
  145. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/hooks/test_filesystem.py +0 -0
  146. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/hooks/test_package_index.py +0 -0
  147. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/__init__.py +0 -0
  148. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/operators/test_smooth.py +0 -0
  149. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/sensors/__init__.py +0 -0
  150. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/test_exceptions.py +0 -0
  151. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/triggers/__init__.py +0 -0
  152. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/triggers/test_file.py +0 -0
  153. {apache_airflow_providers_standard-1.9.0 → apache_airflow_providers_standard-1.11.0}/tests/unit/standard/utils/__init__.py +0 -0
@@ -0,0 +1,5 @@
1
+ Apache Airflow
2
+ Copyright 2016-2026 The Apache Software Foundation
3
+
4
+ This product includes software developed at
5
+ The Apache Software Foundation (http://www.apache.org/).
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-standard
3
- Version: 1.9.0
3
+ Version: 1.11.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>
7
7
  Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
8
8
  Requires-Python: >=3.10
9
9
  Description-Content-Type: text/x-rst
10
+ License-Expression: Apache-2.0
10
11
  Classifier: Development Status :: 5 - Production/Stable
11
12
  Classifier: Environment :: Console
12
13
  Classifier: Environment :: Web Environment
@@ -14,20 +15,24 @@ Classifier: Intended Audience :: Developers
14
15
  Classifier: Intended Audience :: System Administrators
15
16
  Classifier: Framework :: Apache Airflow
16
17
  Classifier: Framework :: Apache Airflow :: Provider
17
- Classifier: License :: OSI Approved :: Apache Software License
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: System :: Monitoring
23
- Requires-Dist: apache-airflow>=2.10.0
23
+ License-File: LICENSE
24
+ License-File: NOTICE
25
+ Requires-Dist: apache-airflow>=2.11.0
26
+ Requires-Dist: apache-airflow-providers-common-compat>=1.13.0
27
+ Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
24
28
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
25
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.9.0/changelog.html
26
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.9.0
29
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.11.0/changelog.html
30
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-standard/1.11.0
27
31
  Project-URL: Mastodon, https://fosstodon.org/@airflow
28
32
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
29
33
  Project-URL: Source Code, https://github.com/apache/airflow
30
34
  Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
35
+ Provides-Extra: openlineage
31
36
 
32
37
 
33
38
  .. Licensed to the Apache Software Foundation (ASF) under one
@@ -54,7 +59,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
54
59
 
55
60
  Package ``apache-airflow-providers-standard``
56
61
 
57
- Release: ``1.9.0``
62
+ Release: ``1.11.0``
58
63
 
59
64
 
60
65
  Airflow Standard Provider
@@ -67,7 +72,7 @@ This is a provider package for ``standard`` provider. All classes for this provi
67
72
  are in ``airflow.providers.standard`` python package.
68
73
 
69
74
  You can find package information and changelog for the provider
70
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.9.0/>`_.
75
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.11.0/>`_.
71
76
 
72
77
  Installation
73
78
  ------------
@@ -81,12 +86,42 @@ The package supports the following python versions: 3.10,3.11,3.12,3.13
81
86
  Requirements
82
87
  ------------
83
88
 
84
- ================== ==================
85
- PIP package Version required
86
- ================== ==================
87
- ``apache-airflow`` ``>=2.10.0``
88
- ================== ==================
89
+ ========================================== ==================
90
+ PIP package Version required
91
+ ========================================== ==================
92
+ ``apache-airflow`` ``>=2.11.0``
93
+ ``apache-airflow-providers-common-compat`` ``>=1.13.0``
94
+ ========================================== ==================
95
+
96
+ Cross provider package dependencies
97
+ -----------------------------------
98
+
99
+ Those are dependencies that might be needed in order to use all the features of the package.
100
+ You need to install the specified providers in order to use them.
101
+
102
+ You can install such cross-provider dependencies when installing from PyPI. For example:
103
+
104
+ .. code-block:: bash
105
+
106
+ pip install apache-airflow-providers-standard[common.compat]
107
+
108
+
109
+ ================================================================================================================== =================
110
+ Dependent package Extra
111
+ ================================================================================================================== =================
112
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
113
+ `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
114
+ ================================================================================================================== =================
115
+
116
+ Optional dependencies
117
+ ----------------------
118
+
119
+ =============== ========================================
120
+ Extra Dependencies
121
+ =============== ========================================
122
+ ``openlineage`` ``apache-airflow-providers-openlineage``
123
+ =============== ========================================
89
124
 
90
125
  The changelog for the provider package can be found in the
91
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.9.0/changelog.html>`_.
126
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.11.0/changelog.html>`_.
92
127
 
@@ -0,0 +1,90 @@
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 TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
+ ``PROVIDER_README_TEMPLATE.rst.jinja2`` IN the ``dev/breeze/src/airflow_breeze/templates`` DIRECTORY
23
+
24
+ Package ``apache-airflow-providers-standard``
25
+
26
+ Release: ``1.11.0``
27
+
28
+
29
+ Airflow Standard Provider
30
+
31
+
32
+ Provider package
33
+ ----------------
34
+
35
+ This is a provider package for ``standard`` provider. All classes for this provider package
36
+ are in ``airflow.providers.standard`` python package.
37
+
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.11.0/>`_.
40
+
41
+ Installation
42
+ ------------
43
+
44
+ You can install this package on top of an existing Airflow installation (see ``Requirements`` below
45
+ for the minimum Airflow version supported) via
46
+ ``pip install apache-airflow-providers-standard``
47
+
48
+ The package supports the following python versions: 3.10,3.11,3.12,3.13
49
+
50
+ Requirements
51
+ ------------
52
+
53
+ ========================================== ==================
54
+ PIP package Version required
55
+ ========================================== ==================
56
+ ``apache-airflow`` ``>=2.11.0``
57
+ ``apache-airflow-providers-common-compat`` ``>=1.13.0``
58
+ ========================================== ==================
59
+
60
+ Cross provider package dependencies
61
+ -----------------------------------
62
+
63
+ Those are dependencies that might be needed in order to use all the features of the package.
64
+ You need to install the specified providers in order to use them.
65
+
66
+ You can install such cross-provider dependencies when installing from PyPI. For example:
67
+
68
+ .. code-block:: bash
69
+
70
+ pip install apache-airflow-providers-standard[common.compat]
71
+
72
+
73
+ ================================================================================================================== =================
74
+ Dependent package Extra
75
+ ================================================================================================================== =================
76
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
77
+ `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
78
+ ================================================================================================================== =================
79
+
80
+ Optional dependencies
81
+ ----------------------
82
+
83
+ =============== ========================================
84
+ Extra Dependencies
85
+ =============== ========================================
86
+ ``openlineage`` ``apache-airflow-providers-openlineage``
87
+ =============== ========================================
88
+
89
+ The changelog for the provider package can be found in the
90
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-standard/1.11.0/changelog.html>`_.
@@ -35,6 +35,188 @@
35
35
  Changelog
36
36
  ---------
37
37
 
38
+ 1.11.0
39
+ ......
40
+
41
+ .. note::
42
+ The new feature ``Add support for async callables in ''PythonOperator''`` will only work on Airflow 3.2.
43
+
44
+ Features
45
+ ~~~~~~~~
46
+
47
+ * ``Add support for async callables in ''PythonOperator'' (#60268)``
48
+
49
+ Misc
50
+ ~~~~
51
+
52
+ * ``Define 'TaskInstanceKey' in task-sdk to support client server separation (#60776)``
53
+ * ``Fix static check fail in hitl/standard provider (#60708)``
54
+
55
+ Doc-only
56
+ ~~~~~~~~
57
+
58
+ * ``Add HITL operators to standard provider index docs (#60681)``
59
+
60
+ .. Below changes are excluded from the changelog. Move them to
61
+ appropriate section above if needed. Do not delete the lines(!):
62
+
63
+ 1.10.3
64
+ ......
65
+
66
+ Misc
67
+ ~~~~
68
+
69
+ * ``Consume ''AirflowOptionalProviderFeatureException'' from compat sdk in providers (#60335)``
70
+ * ``New year means updated Copyright notices (#60344)``
71
+ * ``Remove the compatibility shim for StartTriggerArgs in standard provider (#60300)``
72
+ * ``Updated conf import for std,es,os,ms providers (#60030)``
73
+
74
+ Doc-only
75
+ ~~~~~~~~
76
+
77
+ * ``Remove documentation on TimeDeltaSensorAsync (#59651)``
78
+
79
+ .. Below changes are excluded from the changelog. Move them to
80
+ appropriate section above if needed. Do not delete the lines(!):
81
+ * ``Revert "Add support for async callables in PythonOperator (#59087)" (#60266)``
82
+ * ``Add support for async callables in PythonOperator (#59087)``
83
+ * ``Remove TaskInstance and TaskLogReader unused methods (#59922)``
84
+ * ``Assorted SQLA2/Mypy fixes (#60094)``
85
+ * ``Refactor providers to use SQLA2 (#59975)``
86
+
87
+ 1.10.2
88
+ ......
89
+
90
+ Bug Fixes
91
+ ~~~~~~~~~
92
+
93
+ * ``Fix DAG bundle imports in subprocess operators (#57631)``
94
+
95
+ Misc
96
+ ~~~~
97
+
98
+ * ``TaskInstance unused method cleanup (#59835)``
99
+
100
+ .. Below changes are excluded from the changelog. Move them to
101
+ appropriate section above if needed. Do not delete the lines(!):
102
+ * ``Use SDK serde for trigger and next kwargs serialization (#59711)``
103
+ * ``Remove top-level SDK reference in Core (#59817)``
104
+ * ``Clean up SDK references in airflow.models.expandinput (#59815)``
105
+ * ``Move MappedOperator to serialization (#59628)``
106
+ * ``Split SerializedBaseOperator from serde logic (#59627)``
107
+ * ``Minor cleanups removing SDK references from Core (#59491)``
108
+ * ``Split SDK and serialized asset classes (#58993)``
109
+
110
+ 1.10.1
111
+ ......
112
+
113
+ Bug Fixes
114
+ ~~~~~~~~~
115
+
116
+ * ``fix uv venv fail without direct internet access (#59046)``
117
+
118
+ Misc
119
+ ~~~~
120
+
121
+ * ``Add backcompat for exceptions in providers (#58727)``
122
+ * ``Implement timetables in SDK (#58669)``
123
+ * ``nit: rename TriggerDagRunOperator._defer to deferrable (#58925)``
124
+
125
+ .. Below changes are excluded from the changelog. Move them to
126
+ appropriate section above if needed. Do not delete the lines(!):
127
+
128
+ 1.10.0
129
+ ......
130
+
131
+ .. note::
132
+ This release of provider is only available for Airflow 2.11+ as explained in the
133
+ Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>_.
134
+
135
+ Features
136
+ ~~~~~~~~
137
+
138
+ * ``Auto-inject OpenLineage parent info into TriggerDagRunOperator conf (#58672)``
139
+ * ``Add few attrs from external_task sensor to OpenLineage events (#58719)``
140
+ * ``Allow virtualenv code to access connections/variables and send logs (#58148)``
141
+ * ``Add source to Param (#58615)``
142
+
143
+ Bug Fixes
144
+ ~~~~~~~~~
145
+
146
+ * ``TriggerDagRunOperator deferral mode not working for Airflow 3 (#58497)``
147
+
148
+ Misc
149
+ ~~~~
150
+
151
+ * ``Move out some exceptions to TaskSDK (#54505)``
152
+ * ``Bump minimum Airflow version in providers to Airflow 2.11.0 (#58612)``
153
+ * ``Remove SDK reference for NOTSET in Airflow Core (#58258)``
154
+ * ``Fix lower bound dependency to common-compat provider (#58833)``
155
+ * ``Remove global from task instance session (#58601)``
156
+
157
+ .. Below changes are excluded from the changelog. Move them to
158
+ appropriate section above if needed. Do not delete the lines(!):
159
+ * ``Updates to release process of providers (#58316)``
160
+ * ``Prepare release for 2025-11-27 wave of providers (#58697)``
161
+
162
+ 1.9.2
163
+ .....
164
+
165
+ Bug Fixes
166
+ ~~~~~~~~~
167
+
168
+ * ``fix: HITL params not validating (#57547)``
169
+ * ``Fix: Handle string formatted conf param in TriggerDagRunOperator (#57214)``
170
+ * ``Fix walking through wildcarded directory in FileTrigger (#57155)``
171
+
172
+ Misc
173
+ ~~~~
174
+
175
+ * ``Convert all airflow distributions to be compliant with ASF requirements (#58138)``
176
+ * ``Move subprocess utility closer to usage in python venv operators (#57189)``
177
+
178
+ Doc-only
179
+ ~~~~~~~~
180
+
181
+ * ``Add caution on using Airflow packages in virtualenv operator (#57599)``
182
+
183
+ .. Below changes are excluded from the changelog. Move them to
184
+ appropriate section above if needed. Do not delete the lines(!):
185
+ * ``Delete all unnecessary LICENSE Files (#58191)``
186
+ * ``Enable pt006 rule and fix new generate errors (#58238)``
187
+ * ``fix MyPy type errors in datamodels/hitl.py (#57808)``
188
+ * ``Enable PT006 rule to standard Provider test(ssensor, trigge, util) 9 files (#58022)``
189
+ * ``Enable PT006 rule to standard Provider test(decorator, hook) 8 files (#58019)``
190
+ * ``PT006 modify standard (operator) (#58020)``
191
+ * ``Enable ruff PLW1509 rule (#57659)``
192
+ * ``Fix mypy static errors in standard provider (#57762)``
193
+ * ``Fix mypy type errors in providers/standard/ in external_task.py for SQLAlchemy 2 migration (#57369)``
194
+ * ``Fix code formatting via ruff preview (#57641)``
195
+ * ``Enable ruff PLW0602 rule (#57588)``
196
+ * ``Revert virtualenv connections/variables access and logging as test are failing``
197
+ * ``Enable PT011 rule to prvoider tests (#56929)``
198
+ * ``Allow virtualenv code to access connections/variables and send logs (#57213)``
199
+ * ``Fix mypy error in main (#57351)``
200
+ * ``fix mypy errors in providers/standard/ (#57266)``
201
+
202
+
203
+ 1.9.1
204
+ .....
205
+
206
+ Misc
207
+ ~~~~
208
+
209
+ * ``Simplify version-specific imports in the Standard provider (#56867)``
210
+ * ``Throw NotImplementedError error when fail_when_dag_is_paused is used in TriggerDagRunOperator with Airflow 3.x (#56965)``
211
+
212
+ Doc-only
213
+ ~~~~~~~~
214
+
215
+ * ``Correct 'Dag' to 'DAG' for code snippets in provider docs (#56727)``
216
+
217
+ .. Below changes are excluded from the changelog. Move them to
218
+ appropriate section above if needed. Do not delete the lines(!):
219
+
38
220
  1.9.0
39
221
  .....
40
222
 
@@ -135,8 +317,6 @@ Doc-only
135
317
  * ``docs(hitl): fix typo in example_hitl_operator (#54537)``
136
318
  * ``make bundle_name not nullable (#47592)``
137
319
  * ``Remove SDK BaseOperator in TaskInstance (#53223)``
138
-
139
- .. Review and move the new changes to one of the sections above:
140
320
  * ``Fix Airflow 2 reference in README/index of providers (#55240)``
141
321
 
142
322
  1.6.0
@@ -0,0 +1,123 @@
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
+ ``apache-airflow-providers-standard``
20
+ ===========================================
21
+
22
+
23
+ .. toctree::
24
+ :hidden:
25
+ :maxdepth: 1
26
+ :caption: Basics
27
+
28
+ Home <self>
29
+ Changelog <changelog>
30
+ Security <security>
31
+
32
+ .. toctree::
33
+ :hidden:
34
+ :maxdepth: 1
35
+ :caption: Guides
36
+
37
+ Operators <operators/index>
38
+ Sensors <sensors/index>
39
+ Configuration <configurations-ref>
40
+
41
+ .. toctree::
42
+ :hidden:
43
+ :maxdepth: 1
44
+ :caption: Resources
45
+
46
+ Example Dags <_api/airflow/providers/standard/example_dags/index>
47
+ PyPI Repository <https://pypi.org/project/apache-airflow-providers-standard/>
48
+ Installing from sources <installing-providers-from-sources>
49
+ Python API <_api/airflow/providers/standard/index>
50
+
51
+
52
+ .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
53
+
54
+
55
+ .. toctree::
56
+ :hidden:
57
+ :maxdepth: 1
58
+ :caption: Commits
59
+
60
+ Detailed list of commits <commits>
61
+
62
+
63
+ apache-airflow-providers-standard package
64
+ ------------------------------------------------------
65
+
66
+ Airflow Standard Provider
67
+
68
+
69
+ Release: 1.11.0
70
+
71
+ Provider package
72
+ ----------------
73
+
74
+ This package is for the ``standard`` provider.
75
+ All classes for this package are included in the ``airflow.providers.standard`` python package.
76
+
77
+ Installation
78
+ ------------
79
+
80
+ You can install this package on top of an existing Airflow installation via
81
+ ``pip install apache-airflow-providers-standard``.
82
+ For the minimum Airflow version supported, see ``Requirements`` below.
83
+
84
+ Requirements
85
+ ------------
86
+
87
+ The minimum Apache Airflow version supported by this provider distribution is ``2.11.0``.
88
+
89
+ ========================================== ==================
90
+ PIP package Version required
91
+ ========================================== ==================
92
+ ``apache-airflow`` ``>=2.11.0``
93
+ ``apache-airflow-providers-common-compat`` ``>=1.13.0``
94
+ ========================================== ==================
95
+
96
+ Cross provider package dependencies
97
+ -----------------------------------
98
+
99
+ Those are dependencies that might be needed in order to use all the features of the package.
100
+ You need to install the specified provider distributions in order to use them.
101
+
102
+ You can install such cross-provider dependencies when installing from PyPI. For example:
103
+
104
+ .. code-block:: bash
105
+
106
+ pip install apache-airflow-providers-standard[common.compat]
107
+
108
+
109
+ ================================================================================================================== =================
110
+ Dependent package Extra
111
+ ================================================================================================================== =================
112
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
113
+ `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
114
+ ================================================================================================================== =================
115
+
116
+ Downloading official packages
117
+ -----------------------------
118
+
119
+ You can download officially released packages and verify their checksums and signatures from the
120
+ `Official Apache Download site <https://downloads.apache.org/airflow/providers/>`_
121
+
122
+ * `The apache-airflow-providers-standard 1.11.0 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.11.0.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.11.0.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.11.0.tar.gz.sha512>`__)
123
+ * `The apache-airflow-providers-standard 1.11.0 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.11.0-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.11.0-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_standard-1.11.0-py3-none-any.whl.sha512>`__)
@@ -302,7 +302,7 @@ locations in the Dag constructor call.
302
302
  .. code-block:: python
303
303
  :emphasize-lines: 1
304
304
 
305
- with Dag("example_bash_dag", ..., template_searchpath="/opt/scripts"):
305
+ with DAG("example_bash_dag", ..., template_searchpath="/opt/scripts"):
306
306
  t2 = BashOperator(
307
307
  task_id="bash_example",
308
308
  bash_command="test.sh ",
@@ -0,0 +1,44 @@
1
+ .. Licensed to the Apache Software Foundation (ASF) under one
2
+ or more contributor license agreements. See the NOTICE file
3
+ distributed with this work for additional information
4
+ regarding copyright ownership. The ASF licenses this file
5
+ to you under the Apache License, Version 2.0 (the
6
+ "License"); you may not use this file except in compliance
7
+ with the License. You may obtain a copy of the License at
8
+
9
+ .. http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ .. Unless required by applicable law or agreed to in writing,
12
+ software distributed under the License is distributed on an
13
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ KIND, either express or implied. See the License for the
15
+ specific language governing permissions and limitations
16
+ under the License.
17
+
18
+ Human in the Loop (HITL) Operators
19
+ ==================================
20
+
21
+ Human-in-the-Loop (HITL) operators enable workflows where task execution
22
+ can pause and wait for human input, approval, or intervention before
23
+ continuing.
24
+
25
+ These operators are part of the ``apache-airflow-providers-standard``
26
+ package and are intended for modeling approval steps or manual decision
27
+ points within automated pipelines.
28
+
29
+ Available HITL operators
30
+ ------------------------
31
+
32
+ The Standard provider includes Human-in-the-Loop (HITL) operators.
33
+ For the complete and up-to-date list of available operators and their
34
+ parameters, refer to the Python API documentation:
35
+
36
+ `Python API reference <https://airflow.apache.org/docs/apache-airflow-providers-standard/stable/_api/airflow/providers/standard/operators/hitl/index.html>`_
37
+
38
+ Usage guide
39
+ -----------
40
+
41
+ For an end-to-end guide on using HITL operators, including examples and
42
+ recommended patterns, see the HITL tutorial:
43
+
44
+ * `HITL tutorial <https://airflow.apache.org/docs/apache-airflow/stable/tutorial/hitl.html>`_
@@ -72,6 +72,37 @@ Pass extra arguments to the ``@task`` decorated function as you would with a nor
72
72
  :start-after: [START howto_operator_python_kwargs]
73
73
  :end-before: [END howto_operator_python_kwargs]
74
74
 
75
+ Async Python functions
76
+ ^^^^^^^^^^^^^^^^^^^^^^
77
+
78
+ .. versionadded:: 3.2
79
+
80
+ Async Python callables are now also supported out of the box. This means we don't need to cope with the event loop
81
+ and allows us to easily invoke async Python code and async Airflow hooks which are not always available through
82
+ deferred operators.
83
+
84
+ As opposed to deferred operators which are executed on the triggerer, async operators are executed on the workers.
85
+
86
+ .. tab-set::
87
+
88
+ .. tab-item:: @task
89
+ :sync: taskflow
90
+
91
+ .. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_python_decorator.py
92
+ :language: python
93
+ :dedent: 4
94
+ :start-after: [START howto_async_operator_python_kwargs]
95
+ :end-before: [END howto_async_operator_python_kwargs]
96
+
97
+ .. tab-item:: PythonOperator
98
+ :sync: operator
99
+
100
+ .. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_python_operator.py
101
+ :language: python
102
+ :dedent: 4
103
+ :start-after: [START howto_async_operator_python_kwargs]
104
+ :end-before: [END howto_async_operator_python_kwargs]
105
+
75
106
  Templating
76
107
  ^^^^^^^^^^
77
108
 
@@ -157,16 +188,19 @@ Passing in arguments
157
188
 
158
189
  Pass extra arguments to the ``@task.virtualenv`` decorated function as you would with a normal Python function.
159
190
  Unfortunately, Airflow does not support serializing ``var``, ``ti`` and ``task_instance`` due to incompatibilities
160
- with the underlying library. For Airflow context variables make sure that you either have access to Airflow through
161
- setting ``system_site_packages`` to ``True`` or add ``apache-airflow`` to the ``requirements`` argument.
162
- Otherwise you won't have access to the most context variables of Airflow in ``op_kwargs``.
163
- If you want the context related to datetime objects like ``data_interval_start`` you can add ``pendulum`` and
191
+ with the underlying library. For Airflow context variables, make sure that you have access to Airflow by
192
+ setting ``system_site_packages`` to ``True`` or you won't have access to most context variables in ``op_kwargs``.
193
+ If you want the context related to datetime objects like ``data_interval_start``, you can add ``pendulum`` and
164
194
  ``lazy_object_proxy``.
165
195
 
196
+ .. important::
197
+
198
+ When Airflow or provider packages are required, you must specify the Airflow :ref:`apache-airflow:installation:constraints`
199
+ using ``pip_install_options`` to avoid dependency conflicts.
166
200
 
167
201
  .. important::
168
202
  The Python function body defined to be executed is cut out of the Dag into a temporary file w/o surrounding code.
169
- As in the examples you need to add all imports again and you can not rely on variables from the global Python context.
203
+ As in the examples you need to add all imports again and you cannot rely on variables from the global Python context.
170
204
 
171
205
  If you want to pass variables into the classic :class:`~airflow.providers.standard.operators.python.PythonVirtualenvOperator` use
172
206
  ``op_args`` and ``op_kwargs``.
@@ -24,28 +24,13 @@ TimeDeltaSensor
24
24
 
25
25
  Use the :class:`~airflow.providers.standard.sensors.time_delta.TimeDeltaSensor` to end sensing after specific time.
26
26
 
27
-
28
27
  .. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_sensors.py
29
28
  :language: python
30
29
  :dedent: 4
31
30
  :start-after: [START example_time_delta_sensor]
32
31
  :end-before: [END example_time_delta_sensor]
33
32
 
34
-
35
- .. _howto/operator:TimeDeltaSensorAsync:
36
-
37
- TimeDeltaSensorAsync
38
- ====================
39
-
40
- Use the :class:`~airflow.providers.standard.sensors.time_delta.TimeDeltaSensorAsync` to end sensing after specific time.
41
- It is an async version of the operator and requires Triggerer to run.
42
-
43
-
44
- .. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_sensors.py
45
- :language: python
46
- :dedent: 4
47
- :start-after: [START example_time_delta_sensor_async]
48
- :end-before: [END example_time_delta_sensor_async]
33
+ To run the sensor in deferrable mode, set ``deferrable=True``. See :ref:`deferring/writing` for more information.
49
34
 
50
35
 
51
36