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

Incorrect SerializedTestRecord type annotation #1015

Open
lalten opened this issue Jun 13, 2022 · 0 comments
Open

Incorrect SerializedTestRecord type annotation #1015

lalten opened this issue Jun 13, 2022 · 0 comments
Assignees

Comments

@lalten
Copy link
Contributor

lalten commented Jun 13, 2022

In

SerializedTestRecord = Union[Text, bytes, Iterator[Union[Text, bytes]]]

I think Iterator should be Iterable, because otherwise
elif isinstance(serialized_record, Iterable):

can never happen

@dbhatman dbhatman self-assigned this Oct 12, 2022
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

No branches or pull requests

2 participants