|
103 | 103 | "Dict entry",
|
104 | 104 | '"FieldValues"',
|
105 | 105 | 'base class "Field" defined the type as "bool"',
|
106 |
| - 'Invalid index type "int" for "Union[str, List[Any], Dict[str, Any]]"; expected type "str"', |
| 106 | + 'Invalid index type "int" for "Union[str, _StrPromise, List[Any], Dict[str, Any]]"; expected type "str"', |
107 | 107 | 'Item "str" of "Union[str, Any]" has no attribute "code"',
|
108 | 108 | 'Argument "default" to "CharField" has incompatible type',
|
109 | 109 | '"MultipleChoiceField" has no attribute "partial"',
|
|
149 | 149 | 'Cannot assign multiple types to name "composed_perm" without an explicit "Type[...]" annotation',
|
150 | 150 | ],
|
151 | 151 | "test_relations.py": [
|
152 |
| - 'Invalid index type "int" for "Union[str, List[Any], Dict[str, Any]]"; expected type "str"', |
| 152 | + 'Invalid index type "int" for "Union[str, _StrPromise, List[Any], Dict[str, Any]]"; expected type "str"', |
153 | 153 | 'Argument "queryset" to "HyperlinkedRelatedField" has incompatible type',
|
154 | 154 | 'Incompatible return value type (got "None", expected "HttpResponseBase',
|
155 | 155 | 'Argument 2 to "re_path" has incompatible type "Callable[[], None]"; expected "Callable[..., HttpResponseBase]"', # noqa: E501
|
|
213 | 213 | 'Argument 1 to "to_internal_value" of "Field" has incompatible type "object"',
|
214 | 214 | ],
|
215 | 215 | "test_validation_error.py": [
|
216 |
| - 'Argument "detail" to "ValidationError" has incompatible type "Tuple[str, str]"; expected "Optional[Union[str, List[Any], Dict[str, Any]]]"', # noqa: E501 |
| 216 | + 'Argument "detail" to "ValidationError" has incompatible type "Tuple[str, str]"; expected "Optional[Union[str, _StrPromise, List[Any], Dict[str, Any]]]"', # noqa: E501 |
217 | 217 | ],
|
218 | 218 | "test_validators.py": [
|
219 | 219 | 'Argument "queryset" to "BaseUniqueForValidator" has incompatible type "object";'
|
|
0 commit comments