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
Kubernetes exposes a kubernetes.config.load_kube_config when you import kubernetes.config. But the stubs don't seem to make it available:
src/toil/batchSystems/kubernetes.py:298:17: error: Module has no attribute "load_kube_config"; maybe "load_kube_config_from_dict" or "load_incluster_config"? [attr-defined]
kubernetes.config.load_kube_config()
^
I'm not sure what the stubs are doing differently for those other names that makes mypy see them.
The text was updated successfully, but these errors were encountered:
The underlying problem might be the same as sqlalchemy/sqlalchemy2-stubs#187: the stubs are relying on implicit reexport, which MyPy doesn't allow stubs to do.
Kubernetes exposes a
kubernetes.config.load_kube_config
when youimport kubernetes.config
. But the stubs don't seem to make it available:I'm not sure what the stubs are doing differently for those other names that makes mypy see them.
The text was updated successfully, but these errors were encountered: