Skip to content

Commit a1010a6

Browse files
committed
Change the answer method name
1 parent 2714d7b commit a1010a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ipywidgets/widgets/widget.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def handle_control_comm_msg(cls, msg):
351351
}
352352
full_state, buffer_paths, buffers = _remove_buffers(full_state)
353353
cls._control_comm.send(dict(
354-
method='states',
354+
method='update_states',
355355
states=full_state,
356356
buffer_paths=buffer_paths
357357
), buffers=buffers)

packages/schema/messages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ The kernel side of the widget should immediately send an `states` message with a
369369
{
370370
'comm_id' : 'u-u-i-d',
371371
'data' : {
372-
'method': 'states',
372+
'method': 'update_states',
373373
'states': {
374374
<widget1 u-u-i-d>: <widget1 state>,
375375
<widget2 u-u-i-d>: <widget2 state>,

0 commit comments

Comments
 (0)