We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73033f8 commit 9fa09a0Copy full SHA for 9fa09a0
pandas/io/formats/printing.py
@@ -263,10 +263,7 @@ def enable_data_resource_formatter(enable: bool) -> None:
263
264
class TableSchemaFormatter(BaseFormatter):
265
print_method = ObjectName("_repr_data_resource_")
266
- # 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]
+ _return_type = (dict,)
270
271
# register it:
272
formatters[mimetype] = TableSchemaFormatter()
0 commit comments