Skip to content

Conversation

@alexfikl
Copy link
Collaborator

@alexfikl alexfikl commented Jan 10, 2025

This adds back the Optional[Array] that was removed in #299 to fix the ruff warnings.

These are mostly used to test the functionality of the dataclass_array_container decorator. Do we want to remove support for old-style Optional / Tuple / List / etc from there instead?

cc @nkoskelo

@inducer
Copy link
Owner

inducer commented Jan 10, 2025

Thanks for catching that. I had missed that during the review. I think we can keep the support for the old-style annotations at least for a bit.

@inducer inducer merged commit 4643e1f into inducer:main Jan 10, 2025
12 checks passed
@alexfikl alexfikl deleted the fix-tests branch January 10, 2025 17:49
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