Skip to content

Commit

Permalink
Fix InletEventsAccessors type stub (apache#41572)
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday authored Aug 20, 2024
1 parent 716c430 commit 2545918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/utils/context.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class InletEventsAccessors(Mapping[str, InletEventsAccessor]):
def __init__(self, inlets: list, *, session: Session) -> None: ...
def __iter__(self) -> Iterator[str]: ...
def __len__(self) -> int: ...
def __getitem__(self, key: int | str | Dataset) -> InletEventsAccessor: ...
def __getitem__(self, key: int | str | Dataset | DatasetAlias) -> InletEventsAccessor: ...

# NOTE: Please keep this in sync with the following:
# * KNOWN_CONTEXT_KEYS in airflow/utils/context.py
Expand Down

0 comments on commit 2545918

Please sign in to comment.