Skip to content

Conversation

@ashb
Copy link
Member

@ashb ashb commented Dec 9, 2025

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.

Also generally this isn't the right import :)

@ashb ashb added backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch and removed area:DAG-processing labels Dec 9, 2025
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. But mypy started to complain.

…ere.

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.

Also generally this isn't the right import :)
@ashb ashb force-pushed the fix-odd-pendulum-import branch from 7fcdbde to ac83e2c Compare December 9, 2025 22:47
@ashb ashb merged commit 0b6d258 into main Dec 10, 2025
67 checks passed
@ashb ashb deleted the fix-odd-pendulum-import branch December 10, 2025 09:43
github-actions bot pushed a commit that referenced this pull request Dec 10, 2025
…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>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Dec 10, 2025
…ad of elsewhere. (apache#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>
github-actions bot pushed a commit to anshuksi282-ksolves/Airflow that referenced this pull request Dec 10, 2025
…ad of elsewhere. (apache#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 added a commit that referenced this pull request Dec 10, 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 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants