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

Use Optional and Tuple to test decorator #300

Merged
merged 1 commit into from
Jan 10, 2025
Merged

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