parent
dfa725bdfc
commit
8ae0bd904d
|
@ -51,6 +51,7 @@ _OnSetAttrArgType = Union[
|
|||
_FieldTransformer = Callable[
|
||||
[type, List[Attribute[Any]]], List[Attribute[Any]]
|
||||
]
|
||||
_CompareWithType = Callable[[Any, Any], bool]
|
||||
# FIXME: in reality, if multiple validators are passed they must be in a list
|
||||
# or tuple, but those are invariant and so would prevent subtypes of
|
||||
# _ValidatorType from working when passed in a list or tuple.
|
||||
|
|
Loading…
Reference in New Issue