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