Skip to content

Conversation

@alexfikl
Copy link
Collaborator

This updates dataclass_container with some new typing things:

  • Apparently A | B shows up as types.UnionType, not Union.
  • Also tuple[A, B] shows up as types.GenericAlias, which is not a subclass of typing._BaseGenericAlias.

@inducer inducer merged commit 22f9ead into inducer:main Nov 15, 2024
12 checks passed
@inducer
Copy link
Owner

inducer commented Nov 15, 2024

Thanks!

@alexfikl alexfikl deleted the improve-dataclass-container branch November 16, 2024 12:50
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