Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca17df6 commit 1460b1fCopy full SHA for 1460b1f
kubernetes/client/apis/__init__.py
@@ -0,0 +1,13 @@
1
+from __future__ import absolute_import
2
+import warnings
3
+
4
+# flake8: noqa
5
6
+# alias kubernetes.client.api package and print deprecation warning
7
+from kubernetes.client.api import *
8
9
+warnings.filterwarnings('default', module='kubernetes.client.apis')
10
+warnings.warn(
11
+ "The package kubernetes.client.apis is renamed and deprecated, use kubernetes.client.api instead (please note that the trailing s was removed).",
12
+ DeprecationWarning
13
+)
0 commit comments