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
Hi,using checkers.is_iterable returns True in cases where the object is not actually iterable.
the built-in checker only checks for an iter function, which exists for some classes (like the BaseQuery class of flask_sqlalchemy) even though it's not actually Iterable.
My suggestion is to add to the checkers.is_iterable function an assertion that also checks that the object is an instance of "Iterable" .
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,using checkers.is_iterable returns True in cases where the object is not actually iterable.
the built-in checker only checks for an iter function, which exists for some classes (like the BaseQuery class of flask_sqlalchemy) even though it's not actually Iterable.
My suggestion is to add to the checkers.is_iterable function an assertion that also checks that the object is an instance of "Iterable" .
Thanks!
The text was updated successfully, but these errors were encountered: