mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-24 01:50:03 +02:00
fix: ignore _abc module in warnings
This commit is contained in:
parent
b68cb4d309
commit
216f3cb008
@ -9,6 +9,7 @@ def warn_if_instance_class_does_not_inherit_from_DataService(__value: object) ->
|
||||
"builtins",
|
||||
"__builtin__",
|
||||
"asyncio.unix_events",
|
||||
"_abc",
|
||||
] and base_class_name not in ["DataService", "list", "Enum"]:
|
||||
logger.warning(
|
||||
f"Warning: Class {type(__value).__name__} does not inherit from DataService."
|
||||
|
Loading…
x
Reference in New Issue
Block a user