mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 08:40:03 +02:00
fix: remove inheritance warning for lists
This commit is contained in:
parent
74ceb7f05c
commit
71721b1286
@ -105,7 +105,8 @@ class DataService(rpyc.Service, AbstractDataService):
|
||||
value_class = __value if inspect.isclass(__value) else __value.__class__
|
||||
|
||||
if not issubclass(
|
||||
value_class, (int | float | bool | str | Enum | u.Quantity | Observable)
|
||||
value_class,
|
||||
(int | float | bool | str | list | Enum | u.Quantity | Observable),
|
||||
):
|
||||
logger.warning(
|
||||
"Class '%s' does not inherit from DataService. This may lead to"
|
||||
|
Loading…
x
Reference in New Issue
Block a user