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

Allow passing only item_type to create_memory_object_stream() #473

Merged
merged 1 commit into from
Oct 14, 2022
Merged

Allow passing only item_type to create_memory_object_stream() #473

merged 1 commit into from
Oct 14, 2022

Conversation

gschaffner
Copy link
Collaborator

@gschaffner gschaffner commented Oct 13, 2022

Hi! Calls with a signature like create_memory_object_stream(item_type=int) are supported by the implementation but not by the overloads.

@agronholm
Copy link
Owner

Would you mind adding this to the changelog too? There's a section about type hint improvements.

@agronholm
Copy link
Owner

agronholm commented Oct 13, 2022

If you rebase this on top of master (or just merge it), that should fix the pyright errors too.

@gschaffner gschaffner changed the title Fix create_memory_object_stream(item_type=int) type checking failure Allow passing only item_type to create_memory_object_stream() Oct 14, 2022
@agronholm agronholm merged commit 3b03178 into agronholm:master Oct 14, 2022
@agronholm
Copy link
Owner

Thanks!

agronholm pushed a commit that referenced this pull request May 8, 2023
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.

None yet

2 participants