Closed cdce8p closed 4 months ago
... in ... only requires __contains__. The In validator should therefore use Container instead of Iterable.
... in ...
__contains__
In
Container
Iterable
Refs https://github.com/home-assistant/core/pull/120268 /CC @bdraco
https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes
... in ...
only requires__contains__
. TheIn
validator should therefore useContainer
instead ofIterable
.Refs https://github.com/home-assistant/core/pull/120268 /CC @bdraco
https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes