mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 16:50:02 +02:00
removes warning when using dict as attribute
This commit is contained in:
parent
de7badd007
commit
036e80b920
@ -73,7 +73,7 @@ class DataService(AbstractDataService):
|
|||||||
|
|
||||||
if not issubclass(
|
if not issubclass(
|
||||||
value_class,
|
value_class,
|
||||||
(int | float | bool | str | list | Enum | u.Quantity | Observable),
|
(int | float | bool | str | list | dict | Enum | u.Quantity | Observable),
|
||||||
):
|
):
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"Class '%s' does not inherit from DataService. This may lead to"
|
"Class '%s' does not inherit from DataService. This may lead to"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user