@@ -48,17 +48,17 @@ _T = TypeVar("_T")
4848_C = TypeVar ("_C" , bound = type )
4949
5050_EqOrderType = Union [bool , Callable [[Any ], Any ]]
51- _ValidatorType = Callable [[Any , Attribute [_T ], _T ], Any ]
51+ _ValidatorType = Callable [[Any , " Attribute[_T]" , _T ], Any ]
5252_ConverterType = Callable [[Any ], Any ]
53- _FilterType = Callable [[Attribute [_T ], _T ], bool ]
53+ _FilterType = Callable [[" Attribute[_T]" , _T ], bool ]
5454_ReprType = Callable [[Any ], str ]
5555_ReprArgType = Union [bool , _ReprType ]
56- _OnSetAttrType = Callable [[Any , Attribute [Any ], Any ], Any ]
56+ _OnSetAttrType = Callable [[Any , " Attribute[Any]" , Any ], Any ]
5757_OnSetAttrArgType = Union [
5858 _OnSetAttrType , List [_OnSetAttrType ], setters ._NoOpType
5959]
6060_FieldTransformer = Callable [
61- [type , List [Attribute [Any ]]], List [Attribute [Any ]]
61+ [type , List [" Attribute[Any]" ]], List [" Attribute[Any]" ]
6262]
6363# FIXME: in reality, if multiple validators are passed they must be in a list
6464# or tuple, but those are invariant and so would prevent subtypes of
0 commit comments