Skip to content

Commit

Permalink
Remove redundant docker decorator type annotations (#36406)
Browse files Browse the repository at this point in the history
(cherry picked from commit e3fd0d1)
  • Loading branch information
Taragolis authored and ephraimbuddy committed Jan 11, 2024
1 parent e2357c2 commit bbf6ebc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions airflow/decorators/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,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,
Expand Down Expand Up @@ -441,10 +439,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).
Expand Down

0 comments on commit bbf6ebc

Please sign in to comment.