Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[typing] prefect.concurrency #16441

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mjpieters
Copy link
Contributor

References #16292

@github-actions github-actions bot added the development Tech debt, refactors, CI, tests, and other related work. label Dec 18, 2024
@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch 7 times, most recently from 695d8ff to 32643b2 Compare December 18, 2024 20:43
@mjpieters mjpieters marked this pull request as draft December 18, 2024 20:44
@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch from 32643b2 to 698e585 Compare December 18, 2024 20:48
Copy link

codspeed-hq bot commented Dec 18, 2024

CodSpeed Performance Report

Merging #16441 will not alter performance

Comparing mjpieters:typing_pyright_concurrency (3951dcf) with main (46c6164)

Summary

✅ 3 untouched benchmarks

@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch 2 times, most recently from 853011a to f99ed16 Compare December 18, 2024 21:17
@mjpieters mjpieters marked this pull request as ready for review December 18, 2024 21:25
Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

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

looking great! holding just for that ruff question and to give @desertaxle a chance to peek at that client context change

src/prefect/concurrency/.ruff.toml Outdated Show resolved Hide resolved
src/prefect/context.py Show resolved Hide resolved
Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

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

just realizing that prefect.concurrency.asyncio -> prefect.concurrency._asyncio etc would be a breaking change from an imports perspective, which I think we'd have to avoid

@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch from f99ed16 to 0003cf9 Compare December 18, 2024 21:53
@mjpieters
Copy link
Contributor Author

just realizing that prefect.concurrency.asyncio -> prefect.concurrency._asyncio etc would be a breaking change from an imports perspective, which I think we'd have to avoid

Darn. I'll put the public names from that module back then; until the client flow test failed I wasn't even aware there were other import locations outside of the concurrency package.

@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch from 0003cf9 to d88e240 Compare December 18, 2024 22:30
@mjpieters
Copy link
Contributor Author

mjpieters commented Dec 18, 2024

just realizing that prefect.concurrency.asyncio -> prefect.concurrency._asyncio etc would be a breaking change from an imports perspective, which I think we'd have to avoid

All the public prefect.concurrency.asyncio and prefect.concurrency.v1.asyncio names are firmly back in place, mea culpa!

@mjpieters mjpieters requested a review from zzstoatzz December 18, 2024 22:32
@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch 6 times, most recently from 128fe58 to 792e706 Compare December 19, 2024 00:25
@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch 19 times, most recently from 1c657e2 to c6bb5d5 Compare December 22, 2024 15:33
@mjpieters mjpieters force-pushed the typing_pyright_concurrency branch from c6bb5d5 to 3951dcf Compare December 22, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Tech debt, refactors, CI, tests, and other related work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants