fix: ignore _abc module in warnings

This commit is contained in:
Mose Müller 2023-08-02 12:06:21 +02:00
parent b68cb4d309
commit 216f3cb008

View File

@ -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."