Skip to content

Fix typing in external task triggers#31490

Merged
uranusjr merged 1 commit into
apache:mainfrom
astronomer:mypy-fix-count-tasks-signature
May 24, 2023
Merged

Fix typing in external task triggers#31490
uranusjr merged 1 commit into
apache:mainfrom
astronomer:mypy-fix-count-tasks-signature

Conversation

@uranusjr

Copy link
Copy Markdown
Member

The session kwargs should have a NEW_SESSION default when decorated with provide_session. Not sure why Mypy did not catch this earlier, but it is correctly complaining about it now.

The session kwargs should have a NEW_SESSION default when decorated with
provide_session. Not sure why Mypy did not catch this earlier, but it is
correctly complaining about it now.
Comment thread airflow/triggers/external_task.py
@uranusjr uranusjr merged commit b353621 into apache:main May 24, 2023
@uranusjr uranusjr deleted the mypy-fix-count-tasks-signature branch May 24, 2023 06:55
@ferruzzi

Copy link
Copy Markdown
Contributor

Looks like it may still be complaining about it?

@eladkal eladkal added this to the Airflow 2.6.2 milestone Jun 8, 2023
@eladkal eladkal added the type:misc/internal Changelog: Misc changes that should appear in change log label Jun 8, 2023
eladkal pushed a commit that referenced this pull request Jun 8, 2023
eladkal pushed a commit that referenced this pull request Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants