Closed asottile closed 1 month ago
while the literal in code is an empty list, it is only used as an iterable (in get_validators)
get_validators
relaxing to sequence makes it easier to use a list literal in subclasses which have a homogeneous list (without needing an explicit annotation)
while the literal in code is an empty list, it is only used as an iterable (in
get_validators
)relaxing to sequence makes it easier to use a list literal in subclasses which have a homogeneous list (without needing an explicit annotation)