Skip to content

Commit 9992856

Browse files
Allow _repr_mimebundle_ to accept positional arguments (#38)
1 parent 92d9cd6 commit 9992856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ypywidgets/comm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(
8787
self._comm = create_widget_comm(comm_data, comm_metadata, comm_id)
8888
CommProvider(self.ydoc, self._comm)
8989

90-
def _repr_mimebundle_(self, **kwargs): # pragma: nocover
90+
def _repr_mimebundle_(self, *args, **kwargs): # pragma: nocover
9191
plaintext = repr(self)
9292
if len(plaintext) > 110:
9393
plaintext = plaintext[:110] + '…'

0 commit comments

Comments
 (0)