We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b10bb8 commit 55b517bCopy full SHA for 55b517b
pandas/io/formats/printing.py
@@ -263,7 +263,10 @@ def enable_data_resource_formatter(enable: bool) -> None:
263
264
class TableSchemaFormatter(BaseFormatter):
265
print_method = ObjectName("_repr_data_resource_")
266
- _return_type = (dict,)
+ # Incompatible types in assignment (expression has type
267
+ # "Tuple[Type[Dict[Any, Any]]]", base class "BaseFormatter"
268
+ # defined the type as "Type[str]")
269
+ _return_type = (dict,) # type: ignore[assignment]
270
271
# register it:
272
formatters[mimetype] = TableSchemaFormatter()
0 commit comments