mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-22 09:10:01 +02:00
adding TODO
This commit is contained in:
parent
193775c609
commit
8c0ad6f334
@ -142,6 +142,10 @@ class Server:
|
|||||||
)
|
)
|
||||||
|
|
||||||
def sio_callback(parent_path: str, name: str, value: Any) -> None:
|
def sio_callback(parent_path: str, name: str, value: Any) -> None:
|
||||||
|
# TODO: an error happens when an attribute is set to a list
|
||||||
|
# > File "/usr/lib64/python3.11/json/encoder.py", line 180, in default
|
||||||
|
# > raise TypeError(f'Object of type {o.__class__.__name__} '
|
||||||
|
# > TypeError: Object of type list is not JSON serializable
|
||||||
async def notify() -> None:
|
async def notify() -> None:
|
||||||
try:
|
try:
|
||||||
await self._wapi.sio.emit(
|
await self._wapi.sio.emit(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user