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