We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a08107f commit aad4b97Copy full SHA for aad4b97
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