Skip to content

Alter typing to support Python3.9#18

Merged
graingert merged 1 commit intograingert:defaultfrom
pgjones:default
Dec 14, 2024
Merged

Alter typing to support Python3.9#18
graingert merged 1 commit intograingert:defaultfrom
pgjones:default

Conversation

@pgjones
Copy link
Contributor

@pgjones pgjones commented Dec 14, 2024

As Python3.9 has not yet reached end of life.

As Python3.9 has not yet reached end of life.
import contextvars
from typing import Any, TypeAlias
from typing_extensions import TypeVar
from typing import Any, Optional, Union
Copy link
Owner

Choose a reason for hiding this comment

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

The new union syntax should be supported by 3.9 under the annotations future

@graingert graingert merged commit 2172663 into graingert:default Dec 14, 2024
4 checks passed
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