Skip to content

Commit

Permalink
Add __getattr__ to task decorator stub (apache#39425)
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday authored and pateash committed May 13, 2024
1 parent 1f5fe39 commit 6cde06b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/decorators/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ class TaskDecoratorCollection:
"""
@overload
def bash(self, python_callable: Callable[FParams, FReturn]) -> Task[FParams, FReturn]: ...
def __getattr__(self, name: str) -> TaskDecorator: ...

task: TaskDecoratorCollection
setup: Callable
Expand Down

0 comments on commit 6cde06b

Please sign in to comment.