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

fix: should use Collection[Array] instead list[Array] #170

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

zen-xu
Copy link
Owner

@zen-xu zen-xu commented Jan 19, 2025

"List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
Consider using "Sequence" instead, which is covariant

"List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
Consider using "Sequence" instead, which is covariant
@zen-xu
Copy link
Owner Author

zen-xu commented Jan 19, 2025

close #168

@zen-xu zen-xu merged commit 08a68ca into main Jan 19, 2025
2 checks passed
@zen-xu zen-xu deleted the fix-from-list-array branch January 19, 2025 07:08
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.

1 participant