mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-23 12:14:20 +01:00
adding TODO
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user