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
Just needs to be an iterable collection of strings, I think. Shouldn't specifically need the ordering or mutability of the list. Can't really picture a case where one would pass a dict, but who knows..?
Could then change the validator just to issubclass(type(arg), collections.Iterable), instead of an explicit type(arg) == list check.
The text was updated successfully, but these errors were encountered:
Just needs to be an iterable collection of strings, I think. Shouldn't specifically need the ordering or mutability of the list. Can't really picture a case where one would pass a
dict
, but who knows..?Could then change the validator just to
issubclass(type(arg), collections.Iterable)
, instead of an explicittype(arg) == list
check.The text was updated successfully, but these errors were encountered: