- Dec 31, 2021
-
-
Jarek Potiuk authored
-
Jarek Potiuk authored
-
Kaxil Naik authored
* Fix MyPy issues in ``airflow/macros`` **Before**: ``` root@57b2ac1779ad:/opt/airflow# mypy --namespace-packages airflow/macros airflow/macros/__init__.py:83: error: Argument 1 to "diff_for_humans" of "DateTime" has incompatible type "Optional[datetime]"; expected "Optional[DateTime]" return pendulum.instance(dt).diff_for_humans(since) ^ Found 1 error in 1 file (checked 2 source files) ``` **After**: ``` root@57b2ac1779ad:/opt/airflow# mypy --namespace-packages airflow/macros Success: no issues found in 2 source files ``` * Update __init__.py
-
Jarek Potiuk authored
Part of #19891 Another attempt to clean-up all MyPy errors in Google Provider.
-
Kaxil Naik authored
Part of https://github.com/apache/airflow/issues/19891
-
Jonas Grabber authored
fixes: #20426 and change in logic introduced (seemingly accidentally) in 2fadf3c3
-
Jarek Potiuk authored
Part of #19891 There were few more places where I missed adding Sequence typing - including examples (also converted to tuples) and also template_ext. Also in a few places iterable was left
-
Alexander Liotta authored
Description: allows users to specify they type of secret they are adding when adding extra secrets. Previously we were just defaulting to Opaque.
-
Jarek Potiuk authored
The new snowflake library version generates a different warning message as they bumped pyarrow version used. This PR adds the warning to known warnings.
-
Jarek Potiuk authored
New Sphinx highlighter does not like spaces in json after ':' and it fails main builds because of that.
-
Daniel Standish authored
We change the default for `is_delete_operator_pod` to `True`. For subclasses `GKEStartPodOperator` and `EksPodOperator` we do not _yet_ change the default since we may not want to do a major release in those providers. Instead we identify when the parameter is not set and emit a deprecation warning to notify users of the impending change.
-
Kanthi authored
-
- Dec 30, 2021
-
-
Daniel Standish authored
Calling task.dry_run() will print out the kubectl manifest for the pod that would be created (excluding labels that are derived from the task instance context).
-
Daniel Standish authored
Previously, in KubernetesPodOperator, the invocation of the pod mutation hook occurred within the call to PodManager.run_pod_async. So, `run_pod_async` would not quite run the pod you asked it to run, but would mutate it first. With this change, `run_pod_async` runs exactly the pod you request, and the pod returned by `build_pod_request_obj` is actually the pod you request.
-
Kanthi authored
-
Kanthi authored
-
Kanthi authored
-
Kanthi authored
* [16185] Added LocalKubernetesExecutor to breeze supported executors * Revert "[16185] Added LocalKubernetesExecutor to breeze supported executors" This reverts commit a1c532eacfeddcbefaa3e565a0522e25315286c4. * Fixed mypy errors in databricks/operators
-
Jarek Potiuk authored
We used to maintain supported versions separately in the docs and it led to discrepancies. Now we have single source of truth which is used to generate it automatically with pre-commits
-
Holly Evans authored
'webhook_token' in 'extra' is deprecated recommend setting token in password field
-
Daniel Standish authored
The name PodLauncher may have been appropriate at one time. But currently the PodLauncher class is used for much more than "launching" pods. It's a more comprehensive helper class for creating, monitoring, and otherwise interacting with pods. For this reason PodManager is a more representative name and since we're doing a major release we can take the opportunity to update the name.
-
Kanthi authored
-
Kanthi authored
-
Kanthi authored
-
Kaxil Naik authored
1.10.x is EOL
-
wenjun93 authored
-
Khalid Mammadov authored
-
Daniel Standish authored
It's unclear what was referred to by `pod` because there isn't a `pod` parameter. I attempt to replace with clearer (and accurate) information.
-
Jarek Potiuk authored
Part of #19891
-
Jarek Potiuk authored
Part of #19891
-
Jarek Potiuk authored
Part of #19891
-
Mikhail Stepanov authored
Added mock for xcom_push support. Restored old way to provide resourse_name received from get_sdf_download_operation. Renamed operation to operation_state for clarity.
-
jon-fearer authored
-
Kush authored
Fixes #20249
-
Jarek Potiuk authored
-
Kanthi authored
-
Jed Cunningham authored
-
- Dec 29, 2021
-
-
Jarek Potiuk authored
The change to add pre-commit on isort-ing .pyi files crossed with merge of already approved and not isorted files. Part of #19891
-
pgvishnuram authored
-
Jarek Potiuk authored
Part of #19891
-