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

Simplify annotations as python>=3.9 #144

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Mar 14, 2024

Starting from python 3.9, we can

  • replace Tuple, Dict, List, Type from typing by buitins tuple, dict, list, type
  • replace typing.Callable by collections.abc.Callable
  • replace typing.Sequence by collections.abc.Sequence

See https://peps.python.org/pep-0585/

Starting from python 3.9, we can
- replace Tuple, Dict, List, Type from typing by buitins tuple, dict, list, type
- replace typing.Callable by collections.abc.Callable
- replace typing.Sequence by collections.abc.Sequence

See https://peps.python.org/pep-0585/
@nhuet nhuet force-pushed the annotations-py39 branch from 869f941 to 4e2c607 Compare March 14, 2024 12:13
@ducoffeM ducoffeM merged commit 439d7ed into airbus:main Mar 19, 2024
16 checks passed
@nhuet nhuet deleted the annotations-py39 branch April 15, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants