This is an automated email from the ASF dual-hosted git repository.
husseinawala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e3fd0d1a98 Remove redundant `docker` decorator type annotations
(#36406)
e3fd0d1a98 is described below
commit e3fd0d1a985fc99e4af8edaccda01f97cb9693d9
Author: Andrey Anshin <[email protected]>
AuthorDate: Mon Dec 25 03:29:59 2023 +0400
Remove redundant `docker` decorator type annotations (#36406)
---
airflow/decorators/__init__.pyi | 6 ------
1 file changed, 6 deletions(-)
diff --git a/airflow/decorators/__init__.pyi b/airflow/decorators/__init__.pyi
index 238393c034..a53fea2326 100644
--- a/airflow/decorators/__init__.pyi
+++ b/airflow/decorators/__init__.pyi
@@ -356,8 +356,6 @@ class TaskDecoratorCollection:
privileged: bool = False,
cap_add: str | None = None,
extra_hosts: dict[str, str] | None = None,
- retrieve_output: bool = False,
- retrieve_output_path: str | None = None,
timeout: int = 60,
device_requests: list[dict] | None = None,
log_opts_max_size: str | None = None,
@@ -443,10 +441,6 @@ class TaskDecoratorCollection:
:param cap_add: Include container capabilities
:param extra_hosts: Additional hostnames to resolve inside the
container,
as a mapping of hostname to IP address.
- :param retrieve_output: Should this docker image consistently attempt
to pull from and output
- file before manually shutting down the image. Useful for cases
where users want a pickle serialized
- output that is not posted to logs
- :param retrieve_output_path: path for output file that will be
retrieved and passed to xcom
:param device_requests: Expose host resources such as GPUs to the
container.
:param log_opts_max_size: The maximum size of the log before it is
rolled.
A positive integer plus a modifier representing the unit of
measure (k, m, or g).