Skip to content

Conversation

@github-actions
Copy link

This was likely a case of auto-complete gone wrong. Most of the time this
doesn't matter (as SQLa etc is already loaded) but this was importing it in
Task SDK mistakenly which we don't want.

Interestingly mypy now "noticed" that pendulum.parse can return
Duration, Date, and Time objects too. I don't know why it didn't notice this
before.

Also generally this isn't the right import :)
(cherry picked from commit 0b6d258)

Co-authored-by: Ash Berlin-Taylor ash@apache.org

…ad of elsewhere. (#59258)

This was likely a case of auto-complete gone wrong. Most of the time this
doesn't matter (as SQLa etc is already loaded) but this was importing it in
Task SDK mistakenly which we don't want.

Interestingly mypy now "noticed" that `pendulum.parse` can return
Duration, Date, and Time objects too. I don't know why it didn't notice this
before.

Also generally this isn't the right import :)
(cherry picked from commit 0b6d258)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
@ashb ashb marked this pull request as ready for review December 10, 2025 09:53
@ashb ashb merged commit 3def536 into v3-1-test Dec 10, 2025
58 checks passed
@ashb ashb deleted the backport-0b6d258-v3-1-test branch December 10, 2025 12:48
ephraimbuddy pushed a commit that referenced this pull request Dec 11, 2025
…ad of elsewhere. (#59258) (#59265)

This was likely a case of auto-complete gone wrong. Most of the time this
doesn't matter (as SQLa etc is already loaded) but this was importing it in
Task SDK mistakenly which we don't want.

Interestingly mypy now "noticed" that `pendulum.parse` can return
Duration, Date, and Time objects too. I don't know why it didn't notice this
before.

Also generally this isn't the right import :)
(cherry picked from commit 0b6d258)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
ephraimbuddy pushed a commit that referenced this pull request Dec 12, 2025
…ad of elsewhere. (#59258) (#59265)

This was likely a case of auto-complete gone wrong. Most of the time this
doesn't matter (as SQLa etc is already loaded) but this was importing it in
Task SDK mistakenly which we don't want.

Interestingly mypy now "noticed" that `pendulum.parse` can return
Duration, Date, and Time objects too. I don't know why it didn't notice this
before.

Also generally this isn't the right import :)
(cherry picked from commit 0b6d258)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
ephraimbuddy pushed a commit that referenced this pull request Jan 6, 2026
…ad of elsewhere. (#59258) (#59265)

This was likely a case of auto-complete gone wrong. Most of the time this
doesn't matter (as SQLa etc is already loaded) but this was importing it in
Task SDK mistakenly which we don't want.

Interestingly mypy now "noticed" that `pendulum.parse` can return
Duration, Date, and Time objects too. I don't know why it didn't notice this
before.

Also generally this isn't the right import :)
(cherry picked from commit 0b6d258)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 6, 2026
@ephraimbuddy ephraimbuddy added this to the Airflow 3.1.6 milestone Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants