-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
Context
We are not using the modern annotation recommended in PEP 604. Ruff format even has a rule and autofix for this. https://docs.astral.sh/ruff/rules/non-pep604-annotation/
Definition of done
We applied it once based on the recommendation from an external contributor. Now we can apply throughout. Make sure all unit tests, and mypy tests, pass.
What should the implementer watch out for? What are the risks?
None
- related to
-
PYTHON-4202 Apply PEP 604 Recommended Typing for Optional parameters
- Backlog