cog
26924479 - Choices for Str not just list

Commit
1 year ago
Choices for Str not just list In the case of the Str (which translates to a StrEnum for choices) the explicit list isinstance check is incorrect. There are many cases where it would be valid to send an `Iterable` such as with `dict.keys()` returning a `dict_keys`. As we do not want to explictly cast to `list` type this commit results in a check of iterable type instead of list.
Author
Committer
Parents
Loading