You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the kubernetes_asyncio library to asynchronously call to Kubernetes APIs.
However, kopf.adopt(naturally harmonize_naming, adjust_namespace and label too) supports kubernetes.client.model but not kubernetes_asyncio.client.model.
Since kubernetes_asyncio follows the model of the kubernetes python sdk as it is, there is no problem with compatibility.
Proposal
I wish this project also supports kubernetes_asyncio.
Code
if any(C.__module__.startswith('kubernetes.client.models.') for C in subcls.__mro__):
return True
It would be nice to change that part to
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
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hello. I agree this will be better. Would you like to send a pull request? If so, please also update docs/hierarchies.rst to mention this change — the very top and the very bottom of the file (at least the links, no need for code snippets, I guess).
Problem
I am using the kubernetes_asyncio library to asynchronously call to Kubernetes APIs.
However, kopf.adopt(naturally harmonize_naming, adjust_namespace and label too) supports kubernetes.client.model but not kubernetes_asyncio.client.model.
kopf/kopf/_cogs/helpers/thirdparty.py
Line 36 in aee09c8
Since kubernetes_asyncio follows the model of the kubernetes python sdk as it is, there is no problem with compatibility.
Proposal
I wish this project also supports kubernetes_asyncio.
Code
It would be nice to change that part to
Additional information
No response
The text was updated successfully, but these errors were encountered: