@@ -11,8 +11,8 @@ def is_immutable(self): ...
11
11
def iter_multi_items (mapping ): ...
12
12
def native_itermethods (names ): ...
13
13
14
- class ImmutableListMixin :
15
- def __hash__ (self ): ...
14
+ class ImmutableListMixin ( object ) :
15
+ def __hash__ (self ) -> int : ...
16
16
def __reduce_ex__ (self , protocol ): ...
17
17
def __delitem__ (self , key ): ...
18
18
def __delslice__ (self , i , j ): ...
@@ -28,13 +28,13 @@ class ImmutableListMixin:
28
28
def reverse (self ): ...
29
29
def sort (self , cmp : Optional [Any ] = ..., key : Optional [Any ] = ..., reverse : Optional [Any ] = ...): ...
30
30
31
- class ImmutableList (ImmutableListMixin , list ): ...
31
+ class ImmutableList (ImmutableListMixin , list ): ... # type: ignore
32
32
33
- class ImmutableDictMixin :
33
+ class ImmutableDictMixin ( object ) :
34
34
@classmethod
35
35
def fromkeys (cls , * args , ** kwargs ): ...
36
36
def __reduce_ex__ (self , protocol ): ...
37
- def __hash__ (self ): ...
37
+ def __hash__ (self ) -> int : ...
38
38
def setdefault (self , key , default : Optional [Any ] = ...): ...
39
39
def update (self , * args , ** kwargs ): ...
40
40
def pop (self , key , default : Optional [Any ] = ...): ...
@@ -71,7 +71,7 @@ class TypeConversionDict(Dict[_K, _V]):
71
71
@overload
72
72
def get (self , key : _K , default : _D , type : Callable [[_V ], _R ]) -> Union [_R , _D ]: ...
73
73
74
- class ImmutableTypeConversionDict (ImmutableDictMixin , TypeConversionDict [_K , _V ]):
74
+ class ImmutableTypeConversionDict (ImmutableDictMixin , TypeConversionDict [_K , _V ]): # type: ignore
75
75
def copy (self ) -> TypeConversionDict [_K , _V ]: ...
76
76
def __copy__ (self ) -> ImmutableTypeConversionDict [_K , _V ]: ...
77
77
@@ -207,7 +207,7 @@ class EnvironHeaders(ImmutableHeadersMixin, Headers):
207
207
def __iter__ (self ): ...
208
208
def copy (self ): ...
209
209
210
- class CombinedMultiDict (ImmutableMultiDictMixin , MultiDict ):
210
+ class CombinedMultiDict (ImmutableMultiDictMixin , MultiDict ): # type: ignore
211
211
def __reduce_ex__ (self , protocol ): ...
212
212
dicts : Any
213
213
def __init__ (self , dicts : Optional [Any ] = ...): ...
@@ -231,15 +231,15 @@ class CombinedMultiDict(ImmutableMultiDictMixin, MultiDict):
231
231
class FileMultiDict (MultiDict ):
232
232
def add_file (self , name , file , filename : Optional [Any ] = ..., content_type : Optional [Any ] = ...): ...
233
233
234
- class ImmutableDict (ImmutableDictMixin , dict ):
234
+ class ImmutableDict (ImmutableDictMixin , dict ): # type: ignore
235
235
def copy (self ): ...
236
236
def __copy__ (self ): ...
237
237
238
- class ImmutableMultiDict (ImmutableMultiDictMixin , MultiDict ):
238
+ class ImmutableMultiDict (ImmutableMultiDictMixin , MultiDict ): # type: ignore
239
239
def copy (self ): ...
240
240
def __copy__ (self ): ...
241
241
242
- class ImmutableOrderedMultiDict (ImmutableMultiDictMixin , OrderedMultiDict ):
242
+ class ImmutableOrderedMultiDict (ImmutableMultiDictMixin , OrderedMultiDict ): # type: ignore
243
243
def copy (self ): ...
244
244
def __copy__ (self ): ...
245
245
@@ -280,7 +280,7 @@ class _CacheControl(UpdateDictMixin, dict):
280
280
def __init__ (self , values = ..., on_update : Optional [Any ] = ...): ...
281
281
def to_header (self ): ...
282
282
283
- class RequestCacheControl (ImmutableDictMixin , _CacheControl ):
283
+ class RequestCacheControl (ImmutableDictMixin , _CacheControl ): # type: ignore
284
284
max_stale : Any
285
285
min_fresh : Any
286
286
no_transform : Any
@@ -360,7 +360,7 @@ class ContentRange:
360
360
def __nonzero__ (self ): ...
361
361
__bool__ : Any
362
362
363
- class Authorization (ImmutableDictMixin , Dict [str , Any ]):
363
+ class Authorization (ImmutableDictMixin , Dict [str , Any ]): # type: ignore
364
364
type : str
365
365
def __init__ (self , auth_type : str , data : Optional [Mapping [str , Any ]] = ...) -> None : ...
366
366
@property
0 commit comments