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 May 7, 2024
1 parent 535df25 commit af92467
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 af92467

Please sign in to comment.