diff --git a/kopf/_cogs/helpers/thirdparty.py b/kopf/_cogs/helpers/thirdparty.py index 25dab70f..a4ccc26c 100644 --- a/kopf/_cogs/helpers/thirdparty.py +++ b/kopf/_cogs/helpers/thirdparty.py @@ -35,6 +35,8 @@ def __subclasshook__(cls, subcls: Any) -> Any: # suppress types in this hack if cls is KubernetesModel: if any(C.__module__.startswith('kubernetes.client.models.') for C in subcls.__mro__): return True + if any(C.__module__.startswith('kubernetes_asyncio.client.models.') for C in subcls.__mro__): + return True return NotImplemented @property