8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29e3bc commit 108248eCopy full SHA for 108248e
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