Skip to content

Commit 45de2ae

Browse files
committed
Rename variable
1 parent a7ef7be commit 45de2ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shiny/ui/_chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def get_state(self) -> Jsonifiable: ...
9191
A JSON-like representation of the current state of the client. It is not required to be a JSON string but something that can be serialized to JSON without further conversion.
9292
"""
9393

94-
async def set_state(self, value: Jsonifiable): ...
94+
async def set_state(self, state: Jsonifiable): ...
9595

9696
"""
9797
Method to set the chat client state.
@@ -101,7 +101,7 @@ async def set_state(self, value: Jsonifiable): ...
101101
102102
Parameters
103103
----------
104-
value
104+
state
105105
The value to infer the state from. This value will be the JSON capable value
106106
returned by the `get_state()` method (after a round trip through JSON
107107
serialization and unserialization).

0 commit comments

Comments
 (0)