You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the submission. This is a tricky problem, because an Iterable may be an either an Iterator - which can iterate infinitely, or any iterable object/container.
As of right now, there's no existing support for iterators, so this would need to be added.
I don't think I want to change the default behavior of Iterable, but perhaps some intelligence can be added once iterator support is added to try and detect which path to use based upon the input.
seandstewart
changed the title
typing.Iterable should not be consumed when validate
Support for typing.Iterator and smarter support for typing.Iterable.
May 26, 2020
seandstewart
changed the title
Support for typing.Iterator and smarter support for typing.Iterable.
Support for typing.Iterator and better support for typing.Iterable.
May 26, 2020
Description
Iterable can be infinitely.
What I Did
The text was updated successfully, but these errors were encountered: