diff --git a/src/ypywidgets/comm.py b/src/ypywidgets/comm.py index a30d40d..89a5a89 100644 --- a/src/ypywidgets/comm.py +++ b/src/ypywidgets/comm.py @@ -87,7 +87,7 @@ def __init__( self._comm = create_widget_comm(comm_data, comm_metadata, comm_id) CommProvider(self.ydoc, self._comm) - def _repr_mimebundle_(self, **kwargs): # pragma: nocover + def _repr_mimebundle_(self, *args, **kwargs): # pragma: nocover plaintext = repr(self) if len(plaintext) > 110: plaintext = plaintext[:110] + '…'