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 b78f5cf commit 1461192Copy full SHA for 1461192
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