mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 16:50:02 +02:00
update warning function to ignore TaskManager
This commit is contained in:
parent
be624f8f07
commit
86dd15d3f6
@ -14,7 +14,7 @@ def warn_if_instance_class_does_not_inherit_from_DataService(__value: object) ->
|
||||
"_abc",
|
||||
]
|
||||
and base_class_name not in ["DataService", "list", "Enum"]
|
||||
and type(__value).__name__ not in ["CallbackManager"]
|
||||
and type(__value).__name__ not in ["CallbackManager", "TaskManager"]
|
||||
):
|
||||
logger.warning(
|
||||
f"Warning: Class {type(__value).__name__} does not inherit from DataService."
|
||||
|
Loading…
x
Reference in New Issue
Block a user