@@ -48,17 +48,17 @@ _T = TypeVar("_T")
48
48
_C = TypeVar ("_C" , bound = type )
49
49
50
50
_EqOrderType = Union [bool , Callable [[Any ], Any ]]
51
- _ValidatorType = Callable [[Any , Attribute [_T ], _T ], Any ]
51
+ _ValidatorType = Callable [[Any , " Attribute[_T]" , _T ], Any ]
52
52
_ConverterType = Callable [[Any ], Any ]
53
- _FilterType = Callable [[Attribute [_T ], _T ], bool ]
53
+ _FilterType = Callable [[" Attribute[_T]" , _T ], bool ]
54
54
_ReprType = Callable [[Any ], str ]
55
55
_ReprArgType = Union [bool , _ReprType ]
56
- _OnSetAttrType = Callable [[Any , Attribute [Any ], Any ], Any ]
56
+ _OnSetAttrType = Callable [[Any , " Attribute[Any]" , Any ], Any ]
57
57
_OnSetAttrArgType = Union [
58
58
_OnSetAttrType , List [_OnSetAttrType ], setters ._NoOpType
59
59
]
60
60
_FieldTransformer = Callable [
61
- [type , List [Attribute [Any ]]], List [Attribute [Any ]]
61
+ [type , List [" Attribute[Any]" ]], List [" Attribute[Any]" ]
62
62
]
63
63
# FIXME: in reality, if multiple validators are passed they must be in a list
64
64
# or tuple, but those are invariant and so would prevent subtypes of
0 commit comments