Use anyio.abc
types with full namespace instead of from
imports
#6753
Labels
development
Tech debt, refactors, CI, tests, and other related work.
good first issue
This issue is good for newcomers
First check
Prefect Version
2.x
Describe the current behavior
Currently we import types from anyio with
Describe the proposed behavior
Often these types names overlap with Prefect concepts e.g. tasks. It'd be clearer to use:
Then use the full name to reference it later e.g.
anyio.abc.TaskStatus
Example Use
This is an internal improvement.
Additional context
No response
The text was updated successfully, but these errors were encountered: