We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcaaf3d commit a7a55f8Copy full SHA for a7a55f8
1 file changed
voluptuous/validators.py
@@ -812,7 +812,9 @@ class In(object):
812
"""Validate that a value is in a collection."""
813
814
def __init__(
815
- self, container: typing.Container, msg: typing.Optional[str] = None
+ self,
816
+ container: typing.Container | typing.Iterable,
817
+ msg: typing.Optional[str] = None,
818
) -> None:
819
self.container = container
820
self.msg = msg
0 commit comments