diff --git a/examples/pod_portforward.py b/examples/pod_portforward.py index 13672f181f..34c84ec4ed 100644 --- a/examples/pod_portforward.py +++ b/examples/pod_portforward.py @@ -20,7 +20,7 @@ import socket import time -import six.moves.urllib.request as urllib_request +import urllib.request as urllib_request from kubernetes import config from kubernetes.client import Configuration diff --git a/kubernetes/README.md b/kubernetes/README.md index 7467a3e21a..95fad90659 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: ## Requirements. -Python 2.7 and 3.4+ +Python 3.6+ ## Installation & Usage ### pip install diff --git a/kubernetes/base/config/kube_config.py b/kubernetes/base/config/kube_config.py index 00623a3401..66c93539c5 100644 --- a/kubernetes/base/config/kube_config.py +++ b/kubernetes/base/config/kube_config.py @@ -29,7 +29,6 @@ import urllib3 import yaml from requests_oauthlib import OAuth2Session -from six import PY3 from kubernetes.client import ApiClient, Configuration from kubernetes.config.exec_provider import ExecProvider @@ -413,14 +412,9 @@ def _load_oid_token(self, provider): # https://tools.ietf.org/html/rfc7515#appendix-C return - if PY3: - jwt_attributes = json.loads( - base64.urlsafe_b64decode(parts[1] + padding).decode('utf-8') - ) - else: - jwt_attributes = json.loads( - base64.b64decode(parts[1] + padding) - ) + jwt_attributes = json.loads( + base64.urlsafe_b64decode(parts[1] + padding).decode('utf-8') + ) expire = jwt_attributes.get('exp') @@ -442,14 +436,9 @@ def _refresh_oidc(self, provider): if 'idp-certificate-authority-data' in provider['config']: ca_cert = tempfile.NamedTemporaryFile(delete=True) - if PY3: - cert = base64.b64decode( - provider['config']['idp-certificate-authority-data'] - ).decode('utf-8') - else: - cert = base64.b64decode( - provider['config']['idp-certificate-authority-data'] + "==" - ) + cert = base64.b64decode( + provider['config']['idp-certificate-authority-data'] + ).decode('utf-8') with open(ca_cert.name, 'w') as fh: fh.write(cert) diff --git a/kubernetes/base/config/kube_config_test.py b/kubernetes/base/config/kube_config_test.py index 61a7065994..2406528ccb 100644 --- a/kubernetes/base/config/kube_config_test.py +++ b/kubernetes/base/config/kube_config_test.py @@ -25,7 +25,6 @@ from unittest import mock import yaml -from six import PY3, next from kubernetes.client import Configuration @@ -1440,12 +1439,8 @@ def test_list_kube_config_contexts(self): config_file=config_file) self.assertDictEqual(self.TEST_KUBE_CONFIG['contexts'][0], active_context) - if PY3: - self.assertCountEqual(self.TEST_KUBE_CONFIG['contexts'], - contexts) - else: - self.assertItemsEqual(self.TEST_KUBE_CONFIG['contexts'], - contexts) + self.assertCountEqual(self.TEST_KUBE_CONFIG['contexts'], + contexts) def test_new_client_from_config(self): config_file = self._create_temp_file( diff --git a/kubernetes/base/dynamic/client.py b/kubernetes/base/dynamic/client.py index 64163d7b5c..b0d20fd6eb 100644 --- a/kubernetes/base/dynamic/client.py +++ b/kubernetes/base/dynamic/client.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import six import json from kubernetes import watch @@ -57,12 +56,8 @@ def inner(self, *args, **kwargs): raise api_exception(e) if serialize_response: try: - if six.PY2: - return serializer(self, json.loads(resp.data)) return serializer(self, json.loads(resp.data.decode('utf8'))) except ValueError: - if six.PY2: - return resp.data return resp.data.decode('utf8') return resp diff --git a/kubernetes/base/dynamic/discovery.py b/kubernetes/base/dynamic/discovery.py index 3dd28af268..5a6c0a5a2f 100644 --- a/kubernetes/base/dynamic/discovery.py +++ b/kubernetes/base/dynamic/discovery.py @@ -13,7 +13,6 @@ # limitations under the License. import os -import six import json import logging import hashlib @@ -44,8 +43,7 @@ class Discoverer(object): def __init__(self, client, cache_file): self.client = client default_cache_id = self.client.configuration.host - if six.PY3: - default_cache_id = default_cache_id.encode('utf-8') + default_cache_id = default_cache_id.encode('utf-8') try: default_cachefile_name = 'osrcp-{0}.json'.format(hashlib.md5(default_cache_id, usedforsecurity=False).hexdigest()) except TypeError: @@ -313,7 +311,7 @@ def __iter__(self): prefix, group, version, rg.preferred) self._cache['resources'][prefix][group][version] = rg self.__update_cache = True - for _, resource in six.iteritems(rg.resources): + for _, resource in rg.resources.items(): yield resource self.__maybe_write_cache() diff --git a/kubernetes/base/stream/ws_client.py b/kubernetes/base/stream/ws_client.py index 10c6c1bcd5..ecc6244fe2 100644 --- a/kubernetes/base/stream/ws_client.py +++ b/kubernetes/base/stream/ws_client.py @@ -23,12 +23,11 @@ import threading import time -import six import yaml -from six.moves.urllib.parse import urlencode, urlparse, urlunparse -from six import StringIO, BytesIO +from urllib.parse import urlencode, urlparse, urlunparse +from io import StringIO, BytesIO from websocket import WebSocket, ABNF, enableTrace, WebSocketConnectionClosedException from base64 import urlsafe_b64decode @@ -40,6 +39,7 @@ ERROR_CHANNEL = 3 RESIZE_CHANNEL = 4 + class _IgnoredIO: def write(self, _x): pass @@ -109,12 +109,12 @@ def readline_channel(self, channel, timeout=None): def write_channel(self, channel, data): """Write data to a channel.""" # check if we're writing binary data or not - binary = six.PY3 and type(data) == six.binary_type + binary = type(data) is bytes opcode = ABNF.OPCODE_BINARY if binary else ABNF.OPCODE_TEXT channel_prefix = chr(channel) if binary: - channel_prefix = six.binary_type(channel_prefix, "ascii") + channel_prefix = channel_prefix.encode("ascii") payload = channel_prefix + data self.sock.send(payload, opcode=opcode) @@ -200,11 +200,11 @@ def update(self, timeout=0): return elif op_code == ABNF.OPCODE_BINARY or op_code == ABNF.OPCODE_TEXT: data = frame.data - if six.PY3 and not self.binary: + if not self.binary: data = data.decode("utf-8", "replace") if len(data) > 1: channel = data[0] - if six.PY3 and not self.binary: + if not self.binary: channel = ord(channel) data = data[1:] if data: @@ -303,7 +303,7 @@ def __init__(self, ix, port_number): # The remote port number self.port_number = port_number # The websocket channel byte number for this port - self.channel = six.int2byte(ix * 2) + self.channel = bytes([ix * 2]) # A socket pair is created to provide a means of translating the data flow # between the python application and the kubernetes websocket. The self.python # half of the socket pair is used by the _proxy method to receive and send data @@ -388,7 +388,7 @@ def _proxy(self): if opcode == ABNF.OPCODE_BINARY: if not frame.data: raise RuntimeError("Unexpected frame data size") - channel = six.byte2int(frame.data) + channel = frame.data[0] if frame.data else None if channel >= len(channel_ports): raise RuntimeError("Unexpected channel number: %s" % channel) port = channel_ports[channel] @@ -405,7 +405,7 @@ def _proxy(self): raise RuntimeError( "Unexpected initial channel frame data size" ) - port_number = six.byte2int(frame.data[1:2]) + (six.byte2int(frame.data[2:3]) * 256) + port_number = frame.data[1] + (frame.data[2] * 256) if port_number != port.port_number: raise RuntimeError( "Unexpected port number in initial channel frame: %s" % port_number diff --git a/kubernetes/client/api/admissionregistration_api.py b/kubernetes/client/api/admissionregistration_api.py index 2a0b527cb2..f27c5d834c 100644 --- a/kubernetes/client/api/admissionregistration_api.py +++ b/kubernetes/client/api/admissionregistration_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/admissionregistration_v1_api.py b/kubernetes/client/api/admissionregistration_v1_api.py index abde655ea5..60f83773ac 100644 --- a/kubernetes/client/api/admissionregistration_v1_api.py +++ b/kubernetes/client/api/admissionregistration_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_mutating_webhook_configuration_with_http_info(self, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_validating_admission_policy_with_http_info(self, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -380,7 +378,7 @@ def create_validating_admission_policy_binding_with_http_info(self, body, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -514,7 +512,7 @@ def create_validating_webhook_configuration_with_http_info(self, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -678,7 +676,7 @@ def delete_collection_mutating_webhook_configuration_with_http_info(self, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -858,7 +856,7 @@ def delete_collection_validating_admission_policy_with_http_info(self, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1038,7 +1036,7 @@ def delete_collection_validating_admission_policy_binding_with_http_info(self, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1218,7 +1216,7 @@ def delete_collection_validating_webhook_configuration_with_http_info(self, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1377,7 +1375,7 @@ def delete_mutating_webhook_configuration_with_http_info(self, name, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1526,7 +1524,7 @@ def delete_validating_admission_policy_with_http_info(self, name, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1675,7 +1673,7 @@ def delete_validating_admission_policy_binding_with_http_info(self, name, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1824,7 +1822,7 @@ def delete_validating_webhook_configuration_with_http_info(self, name, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1949,7 +1947,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2087,7 +2085,7 @@ def list_mutating_webhook_configuration_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2247,7 +2245,7 @@ def list_validating_admission_policy_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2407,7 +2405,7 @@ def list_validating_admission_policy_binding_with_http_info(self, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2567,7 +2565,7 @@ def list_validating_webhook_configuration_with_http_info(self, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2715,7 +2713,7 @@ def patch_mutating_webhook_configuration_with_http_info(self, name, body, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2867,7 +2865,7 @@ def patch_validating_admission_policy_with_http_info(self, name, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3019,7 +3017,7 @@ def patch_validating_admission_policy_binding_with_http_info(self, name, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3171,7 +3169,7 @@ def patch_validating_admission_policy_status_with_http_info(self, name, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3323,7 +3321,7 @@ def patch_validating_webhook_configuration_with_http_info(self, name, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3460,7 +3458,7 @@ def read_mutating_webhook_configuration_with_http_info(self, name, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3579,7 +3577,7 @@ def read_validating_admission_policy_with_http_info(self, name, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3698,7 +3696,7 @@ def read_validating_admission_policy_binding_with_http_info(self, name, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3817,7 +3815,7 @@ def read_validating_admission_policy_status_with_http_info(self, name, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3936,7 +3934,7 @@ def read_validating_webhook_configuration_with_http_info(self, name, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4067,7 +4065,7 @@ def replace_mutating_webhook_configuration_with_http_info(self, name, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4210,7 +4208,7 @@ def replace_validating_admission_policy_with_http_info(self, name, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4353,7 +4351,7 @@ def replace_validating_admission_policy_binding_with_http_info(self, name, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4496,7 +4494,7 @@ def replace_validating_admission_policy_status_with_http_info(self, name, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4639,7 +4637,7 @@ def replace_validating_webhook_configuration_with_http_info(self, name, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/admissionregistration_v1alpha1_api.py b/kubernetes/client/api/admissionregistration_v1alpha1_api.py index c95724be61..b0109978a1 100644 --- a/kubernetes/client/api/admissionregistration_v1alpha1_api.py +++ b/kubernetes/client/api/admissionregistration_v1alpha1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_mutating_admission_policy_with_http_info(self, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_mutating_admission_policy_binding_with_http_info(self, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -410,7 +408,7 @@ def delete_collection_mutating_admission_policy_with_http_info(self, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -590,7 +588,7 @@ def delete_collection_mutating_admission_policy_binding_with_http_info(self, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -749,7 +747,7 @@ def delete_mutating_admission_policy_with_http_info(self, name, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -898,7 +896,7 @@ def delete_mutating_admission_policy_binding_with_http_info(self, name, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1023,7 +1021,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1161,7 +1159,7 @@ def list_mutating_admission_policy_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1321,7 +1319,7 @@ def list_mutating_admission_policy_binding_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1469,7 +1467,7 @@ def patch_mutating_admission_policy_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1621,7 +1619,7 @@ def patch_mutating_admission_policy_binding_with_http_info(self, name, body, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1758,7 +1756,7 @@ def read_mutating_admission_policy_with_http_info(self, name, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1877,7 +1875,7 @@ def read_mutating_admission_policy_binding_with_http_info(self, name, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2008,7 +2006,7 @@ def replace_mutating_admission_policy_with_http_info(self, name, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2151,7 +2149,7 @@ def replace_mutating_admission_policy_binding_with_http_info(self, name, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/admissionregistration_v1beta1_api.py b/kubernetes/client/api/admissionregistration_v1beta1_api.py index 9b14fbb54c..7d06734938 100644 --- a/kubernetes/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/api/admissionregistration_v1beta1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_mutating_admission_policy_with_http_info(self, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_mutating_admission_policy_binding_with_http_info(self, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -410,7 +408,7 @@ def delete_collection_mutating_admission_policy_with_http_info(self, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -590,7 +588,7 @@ def delete_collection_mutating_admission_policy_binding_with_http_info(self, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -749,7 +747,7 @@ def delete_mutating_admission_policy_with_http_info(self, name, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -898,7 +896,7 @@ def delete_mutating_admission_policy_binding_with_http_info(self, name, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1023,7 +1021,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1161,7 +1159,7 @@ def list_mutating_admission_policy_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1321,7 +1319,7 @@ def list_mutating_admission_policy_binding_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1469,7 +1467,7 @@ def patch_mutating_admission_policy_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1621,7 +1619,7 @@ def patch_mutating_admission_policy_binding_with_http_info(self, name, body, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1758,7 +1756,7 @@ def read_mutating_admission_policy_with_http_info(self, name, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1877,7 +1875,7 @@ def read_mutating_admission_policy_binding_with_http_info(self, name, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2008,7 +2006,7 @@ def replace_mutating_admission_policy_with_http_info(self, name, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2151,7 +2149,7 @@ def replace_mutating_admission_policy_binding_with_http_info(self, name, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apiextensions_api.py b/kubernetes/client/api/apiextensions_api.py index a2de1de5af..a8633a24d9 100644 --- a/kubernetes/client/api/apiextensions_api.py +++ b/kubernetes/client/api/apiextensions_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apiextensions_v1_api.py b/kubernetes/client/api/apiextensions_v1_api.py index f3c801159f..2205701e48 100644 --- a/kubernetes/client/api/apiextensions_v1_api.py +++ b/kubernetes/client/api/apiextensions_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_custom_resource_definition_with_http_info(self, body, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_custom_resource_definition_with_http_info(self, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_custom_resource_definition_with_http_info(self, name, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_custom_resource_definition_with_http_info(self, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_custom_resource_definition_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -998,7 +996,7 @@ def patch_custom_resource_definition_status_with_http_info(self, name, body, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1135,7 +1133,7 @@ def read_custom_resource_definition_with_http_info(self, name, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def read_custom_resource_definition_status_with_http_info(self, name, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1385,7 +1383,7 @@ def replace_custom_resource_definition_with_http_info(self, name, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1528,7 +1526,7 @@ def replace_custom_resource_definition_status_with_http_info(self, name, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apiregistration_api.py b/kubernetes/client/api/apiregistration_api.py index cf5f7a2e23..4f2301cf08 100644 --- a/kubernetes/client/api/apiregistration_api.py +++ b/kubernetes/client/api/apiregistration_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apiregistration_v1_api.py b/kubernetes/client/api/apiregistration_v1_api.py index 1ac27e9974..6976b0dd3a 100644 --- a/kubernetes/client/api/apiregistration_v1_api.py +++ b/kubernetes/client/api/apiregistration_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_api_service_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -255,7 +253,7 @@ def delete_api_service_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -425,7 +423,7 @@ def delete_collection_api_service_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_api_service_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_api_service_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -998,7 +996,7 @@ def patch_api_service_status_with_http_info(self, name, body, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1135,7 +1133,7 @@ def read_api_service_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def read_api_service_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1385,7 +1383,7 @@ def replace_api_service_with_http_info(self, name, body, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1528,7 +1526,7 @@ def replace_api_service_status_with_http_info(self, name, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apis_api.py b/kubernetes/client/api/apis_api.py index 24f6de1741..7212207cb6 100644 --- a/kubernetes/client/api/apis_api.py +++ b/kubernetes/client/api/apis_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_versions_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apps_api.py b/kubernetes/client/api/apps_api.py index 1da5f3314d..d7734d7ea1 100644 --- a/kubernetes/client/api/apps_api.py +++ b/kubernetes/client/api/apps_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/apps_v1_api.py b/kubernetes/client/api/apps_v1_api.py index 93e332b133..9b3555553f 100644 --- a/kubernetes/client/api/apps_v1_api.py +++ b/kubernetes/client/api/apps_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_controller_revision_with_http_info(self, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -258,7 +256,7 @@ def create_namespaced_daemon_set_with_http_info(self, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -401,7 +399,7 @@ def create_namespaced_deployment_with_http_info(self, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -544,7 +542,7 @@ def create_namespaced_replica_set_with_http_info(self, namespace, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -687,7 +685,7 @@ def create_namespaced_stateful_set_with_http_info(self, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -860,7 +858,7 @@ def delete_collection_namespaced_controller_revision_with_http_info(self, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1049,7 +1047,7 @@ def delete_collection_namespaced_daemon_set_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1238,7 +1236,7 @@ def delete_collection_namespaced_deployment_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1427,7 +1425,7 @@ def delete_collection_namespaced_replica_set_with_http_info(self, namespace, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1616,7 +1614,7 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1784,7 +1782,7 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1942,7 +1940,7 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2100,7 +2098,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2258,7 +2256,7 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2416,7 +2414,7 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2547,7 +2545,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2685,7 +2683,7 @@ def list_controller_revision_for_all_namespaces_with_http_info(self, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2845,7 +2843,7 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3005,7 +3003,7 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3168,7 +3166,7 @@ def list_namespaced_controller_revision_with_http_info(self, namespace, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3337,7 +3335,7 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3506,7 +3504,7 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3675,7 +3673,7 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3844,7 +3842,7 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4010,7 +4008,7 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4170,7 +4168,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4321,7 +4319,7 @@ def patch_namespaced_controller_revision_with_http_info(self, name, namespace, b ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4482,7 +4480,7 @@ def patch_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4643,7 +4641,7 @@ def patch_namespaced_daemon_set_status_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4804,7 +4802,7 @@ def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4965,7 +4963,7 @@ def patch_namespaced_deployment_scale_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5126,7 +5124,7 @@ def patch_namespaced_deployment_status_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5287,7 +5285,7 @@ def patch_namespaced_replica_set_with_http_info(self, name, namespace, body, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5448,7 +5446,7 @@ def patch_namespaced_replica_set_scale_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5609,7 +5607,7 @@ def patch_namespaced_replica_set_status_with_http_info(self, name, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5770,7 +5768,7 @@ def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5931,7 +5929,7 @@ def patch_namespaced_stateful_set_scale_with_http_info(self, name, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6092,7 +6090,7 @@ def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, b ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6238,7 +6236,7 @@ def read_namespaced_controller_revision_with_http_info(self, name, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6366,7 +6364,7 @@ def read_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6494,7 +6492,7 @@ def read_namespaced_daemon_set_status_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6622,7 +6620,7 @@ def read_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6750,7 +6748,7 @@ def read_namespaced_deployment_scale_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6878,7 +6876,7 @@ def read_namespaced_deployment_status_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7006,7 +7004,7 @@ def read_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7134,7 +7132,7 @@ def read_namespaced_replica_set_scale_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7262,7 +7260,7 @@ def read_namespaced_replica_set_status_with_http_info(self, name, namespace, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7390,7 +7388,7 @@ def read_namespaced_stateful_set_with_http_info(self, name, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7518,7 +7516,7 @@ def read_namespaced_stateful_set_scale_with_http_info(self, name, namespace, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7646,7 +7644,7 @@ def read_namespaced_stateful_set_status_with_http_info(self, name, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7786,7 +7784,7 @@ def replace_namespaced_controller_revision_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7938,7 +7936,7 @@ def replace_namespaced_daemon_set_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8090,7 +8088,7 @@ def replace_namespaced_daemon_set_status_with_http_info(self, name, namespace, b ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8242,7 +8240,7 @@ def replace_namespaced_deployment_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8394,7 +8392,7 @@ def replace_namespaced_deployment_scale_with_http_info(self, name, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8546,7 +8544,7 @@ def replace_namespaced_deployment_status_with_http_info(self, name, namespace, b ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8698,7 +8696,7 @@ def replace_namespaced_replica_set_with_http_info(self, name, namespace, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8850,7 +8848,7 @@ def replace_namespaced_replica_set_scale_with_http_info(self, name, namespace, b ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9002,7 +9000,7 @@ def replace_namespaced_replica_set_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9154,7 +9152,7 @@ def replace_namespaced_stateful_set_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9306,7 +9304,7 @@ def replace_namespaced_stateful_set_scale_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9458,7 +9456,7 @@ def replace_namespaced_stateful_set_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/authentication_api.py b/kubernetes/client/api/authentication_api.py index 27b118c98b..5d11b5b4c9 100644 --- a/kubernetes/client/api/authentication_api.py +++ b/kubernetes/client/api/authentication_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/authentication_v1_api.py b/kubernetes/client/api/authentication_v1_api.py index 34e9396f22..38c9be7d23 100644 --- a/kubernetes/client/api/authentication_v1_api.py +++ b/kubernetes/client/api/authentication_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_self_subject_review_with_http_info(self, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_token_review_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -365,7 +363,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/authorization_api.py b/kubernetes/client/api/authorization_api.py index e0fe3712ea..e4947f637d 100644 --- a/kubernetes/client/api/authorization_api.py +++ b/kubernetes/client/api/authorization_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/authorization_v1_api.py b/kubernetes/client/api/authorization_v1_api.py index c240ce272f..05dfd52485 100644 --- a/kubernetes/client/api/authorization_v1_api.py +++ b/kubernetes/client/api/authorization_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_local_subject_access_review_with_http_info(self, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -255,7 +253,7 @@ def create_self_subject_access_review_with_http_info(self, body, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -389,7 +387,7 @@ def create_self_subject_rules_review_with_http_info(self, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -523,7 +521,7 @@ def create_subject_access_review_with_http_info(self, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -642,7 +640,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/autoscaling_api.py b/kubernetes/client/api/autoscaling_api.py index aedbf889a5..faa497407e 100644 --- a/kubernetes/client/api/autoscaling_api.py +++ b/kubernetes/client/api/autoscaling_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/autoscaling_v1_api.py b/kubernetes/client/api/autoscaling_v1_api.py index 2a935fbab0..00d402e597 100644 --- a/kubernetes/client/api/autoscaling_v1_api.py +++ b/kubernetes/client/api/autoscaling_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1206,7 +1204,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1352,7 +1350,7 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1480,7 +1478,7 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1620,7 +1618,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1772,7 +1770,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/autoscaling_v2_api.py b/kubernetes/client/api/autoscaling_v2_api.py index ce95f1f2ca..158f932dc2 100644 --- a/kubernetes/client/api/autoscaling_v2_api.py +++ b/kubernetes/client/api/autoscaling_v2_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1206,7 +1204,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1352,7 +1350,7 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1480,7 +1478,7 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1620,7 +1618,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1772,7 +1770,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/batch_api.py b/kubernetes/client/api/batch_api.py index 8c9b1a1158..544652d4bb 100644 --- a/kubernetes/client/api/batch_api.py +++ b/kubernetes/client/api/batch_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/batch_v1_api.py b/kubernetes/client/api/batch_v1_api.py index 3881dc5d44..31460ace8b 100644 --- a/kubernetes/client/api/batch_v1_api.py +++ b/kubernetes/client/api/batch_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_cron_job_with_http_info(self, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -258,7 +256,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -431,7 +429,7 @@ def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -620,7 +618,7 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -788,7 +786,7 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -946,7 +944,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1077,7 +1075,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1215,7 +1213,7 @@ def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1375,7 +1373,7 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1538,7 +1536,7 @@ def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1707,7 +1705,7 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1864,7 +1862,7 @@ def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2025,7 +2023,7 @@ def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2186,7 +2184,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2347,7 +2345,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2493,7 +2491,7 @@ def read_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2621,7 +2619,7 @@ def read_namespaced_cron_job_status_with_http_info(self, name, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2749,7 +2747,7 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2877,7 +2875,7 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3017,7 +3015,7 @@ def replace_namespaced_cron_job_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3169,7 +3167,7 @@ def replace_namespaced_cron_job_status_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3321,7 +3319,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3473,7 +3471,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/certificates_api.py b/kubernetes/client/api/certificates_api.py index 4e1bb128a5..2760daf715 100644 --- a/kubernetes/client/api/certificates_api.py +++ b/kubernetes/client/api/certificates_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/certificates_v1_api.py b/kubernetes/client/api/certificates_v1_api.py index 3447d85dce..161625f979 100644 --- a/kubernetes/client/api/certificates_v1_api.py +++ b/kubernetes/client/api/certificates_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_certificate_signing_request_with_http_info(self, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -255,7 +253,7 @@ def delete_certificate_signing_request_with_http_info(self, name, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -425,7 +423,7 @@ def delete_collection_certificate_signing_request_with_http_info(self, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_certificate_signing_request_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -998,7 +996,7 @@ def patch_certificate_signing_request_approval_with_http_info(self, name, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1150,7 +1148,7 @@ def patch_certificate_signing_request_status_with_http_info(self, name, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1287,7 +1285,7 @@ def read_certificate_signing_request_with_http_info(self, name, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1406,7 +1404,7 @@ def read_certificate_signing_request_approval_with_http_info(self, name, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1525,7 +1523,7 @@ def read_certificate_signing_request_status_with_http_info(self, name, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1656,7 +1654,7 @@ def replace_certificate_signing_request_with_http_info(self, name, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1799,7 +1797,7 @@ def replace_certificate_signing_request_approval_with_http_info(self, name, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1942,7 +1940,7 @@ def replace_certificate_signing_request_status_with_http_info(self, name, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/certificates_v1alpha1_api.py b/kubernetes/client/api/certificates_v1alpha1_api.py index 168a2f7ee0..fae722e909 100644 --- a/kubernetes/client/api/certificates_v1alpha1_api.py +++ b/kubernetes/client/api/certificates_v1alpha1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_cluster_trust_bundle_with_http_info(self, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -249,7 +247,7 @@ def create_namespaced_pod_certificate_request_with_http_info(self, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -398,7 +396,7 @@ def delete_cluster_trust_bundle_with_http_info(self, name, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -568,7 +566,7 @@ def delete_collection_cluster_trust_bundle_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -751,7 +749,7 @@ def delete_collection_namespaced_pod_certificate_request_with_http_info(self, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -919,7 +917,7 @@ def delete_namespaced_pod_certificate_request_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1050,7 +1048,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1188,7 +1186,7 @@ def list_cluster_trust_bundle_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1351,7 +1349,7 @@ def list_namespaced_pod_certificate_request_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1517,7 +1515,7 @@ def list_pod_certificate_request_for_all_namespaces_with_http_info(self, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1665,7 +1663,7 @@ def patch_cluster_trust_bundle_with_http_info(self, name, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1820,7 +1818,7 @@ def patch_namespaced_pod_certificate_request_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1981,7 +1979,7 @@ def patch_namespaced_pod_certificate_request_status_with_http_info(self, name, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2124,7 +2122,7 @@ def read_cluster_trust_bundle_with_http_info(self, name, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2246,7 +2244,7 @@ def read_namespaced_pod_certificate_request_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2374,7 +2372,7 @@ def read_namespaced_pod_certificate_request_status_with_http_info(self, name, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2511,7 +2509,7 @@ def replace_cluster_trust_bundle_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2657,7 +2655,7 @@ def replace_namespaced_pod_certificate_request_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2809,7 +2807,7 @@ def replace_namespaced_pod_certificate_request_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/certificates_v1beta1_api.py b/kubernetes/client/api/certificates_v1beta1_api.py index bb9382f570..655e6e3a52 100644 --- a/kubernetes/client/api/certificates_v1beta1_api.py +++ b/kubernetes/client/api/certificates_v1beta1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_cluster_trust_bundle_with_http_info(self, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -255,7 +253,7 @@ def delete_cluster_trust_bundle_with_http_info(self, name, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -425,7 +423,7 @@ def delete_collection_cluster_trust_bundle_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_cluster_trust_bundle_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_cluster_trust_bundle_with_http_info(self, name, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -983,7 +981,7 @@ def read_cluster_trust_bundle_with_http_info(self, name, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1114,7 +1112,7 @@ def replace_cluster_trust_bundle_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/coordination_api.py b/kubernetes/client/api/coordination_api.py index 6557f73daf..4f8a727e2e 100644 --- a/kubernetes/client/api/coordination_api.py +++ b/kubernetes/client/api/coordination_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/coordination_v1_api.py b/kubernetes/client/api/coordination_v1_api.py index 91e4b3d20e..72cd696111 100644 --- a/kubernetes/client/api/coordination_v1_api.py +++ b/kubernetes/client/api/coordination_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_lease_with_http_info(self, namespace, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_lease_with_http_info(self, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_lease_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_lease_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_lease_with_http_info(self, namespace, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_lease_with_http_info(self, name, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1191,7 +1189,7 @@ def read_namespaced_lease_with_http_info(self, name, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1331,7 +1329,7 @@ def replace_namespaced_lease_with_http_info(self, name, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/coordination_v1alpha2_api.py b/kubernetes/client/api/coordination_v1alpha2_api.py index 7572fa1957..522c3f2811 100644 --- a/kubernetes/client/api/coordination_v1alpha2_api.py +++ b/kubernetes/client/api/coordination_v1alpha2_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_lease_candidate_with_http_info(self, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_lease_candidate_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_lease_candidate_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_lease_candidate_for_all_namespaces_with_http_info(self, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_lease_candidate_with_http_info(self, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_lease_candidate_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1191,7 +1189,7 @@ def read_namespaced_lease_candidate_with_http_info(self, name, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1331,7 +1329,7 @@ def replace_namespaced_lease_candidate_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/coordination_v1beta1_api.py b/kubernetes/client/api/coordination_v1beta1_api.py index 4e3d42c862..c76f577359 100644 --- a/kubernetes/client/api/coordination_v1beta1_api.py +++ b/kubernetes/client/api/coordination_v1beta1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_lease_candidate_with_http_info(self, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_lease_candidate_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_lease_candidate_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_lease_candidate_for_all_namespaces_with_http_info(self, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_lease_candidate_with_http_info(self, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_lease_candidate_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1191,7 +1189,7 @@ def read_namespaced_lease_candidate_with_http_info(self, name, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1331,7 +1329,7 @@ def replace_namespaced_lease_candidate_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/core_api.py b/kubernetes/client/api/core_api.py index 71ad82a149..7ae63829e0 100644 --- a/kubernetes/client/api/core_api.py +++ b/kubernetes/client/api/core_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_versions_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/core_v1_api.py b/kubernetes/client/api/core_v1_api.py index 4ea0ed311b..c151c16653 100644 --- a/kubernetes/client/api/core_v1_api.py +++ b/kubernetes/client/api/core_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -106,7 +104,7 @@ def connect_delete_namespaced_pod_proxy_with_http_info(self, name, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -237,7 +235,7 @@ def connect_delete_namespaced_pod_proxy_with_path_with_http_info(self, name, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -371,7 +369,7 @@ def connect_delete_namespaced_service_proxy_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -502,7 +500,7 @@ def connect_delete_namespaced_service_proxy_with_path_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -633,7 +631,7 @@ def connect_delete_node_proxy_with_http_info(self, name, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -755,7 +753,7 @@ def connect_delete_node_proxy_with_path_with_http_info(self, name, path, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -895,7 +893,7 @@ def connect_get_namespaced_pod_attach_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1046,7 +1044,7 @@ def connect_get_namespaced_pod_exec_with_http_info(self, name, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1184,7 +1182,7 @@ def connect_get_namespaced_pod_portforward_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1312,7 +1310,7 @@ def connect_get_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1443,7 +1441,7 @@ def connect_get_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1577,7 +1575,7 @@ def connect_get_namespaced_service_proxy_with_http_info(self, name, namespace, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1708,7 +1706,7 @@ def connect_get_namespaced_service_proxy_with_path_with_http_info(self, name, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1839,7 +1837,7 @@ def connect_get_node_proxy_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1961,7 +1959,7 @@ def connect_get_node_proxy_with_path_with_http_info(self, name, path, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2089,7 +2087,7 @@ def connect_head_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2220,7 +2218,7 @@ def connect_head_namespaced_pod_proxy_with_path_with_http_info(self, name, names ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2354,7 +2352,7 @@ def connect_head_namespaced_service_proxy_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2485,7 +2483,7 @@ def connect_head_namespaced_service_proxy_with_path_with_http_info(self, name, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2616,7 +2614,7 @@ def connect_head_node_proxy_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2738,7 +2736,7 @@ def connect_head_node_proxy_with_path_with_http_info(self, name, path, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2866,7 +2864,7 @@ def connect_options_namespaced_pod_proxy_with_http_info(self, name, namespace, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2997,7 +2995,7 @@ def connect_options_namespaced_pod_proxy_with_path_with_http_info(self, name, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3131,7 +3129,7 @@ def connect_options_namespaced_service_proxy_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3262,7 +3260,7 @@ def connect_options_namespaced_service_proxy_with_path_with_http_info(self, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3393,7 +3391,7 @@ def connect_options_node_proxy_with_http_info(self, name, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3515,7 +3513,7 @@ def connect_options_node_proxy_with_path_with_http_info(self, name, path, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3643,7 +3641,7 @@ def connect_patch_namespaced_pod_proxy_with_http_info(self, name, namespace, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3774,7 +3772,7 @@ def connect_patch_namespaced_pod_proxy_with_path_with_http_info(self, name, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3908,7 +3906,7 @@ def connect_patch_namespaced_service_proxy_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4039,7 +4037,7 @@ def connect_patch_namespaced_service_proxy_with_path_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4170,7 +4168,7 @@ def connect_patch_node_proxy_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4292,7 +4290,7 @@ def connect_patch_node_proxy_with_path_with_http_info(self, name, path, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4432,7 +4430,7 @@ def connect_post_namespaced_pod_attach_with_http_info(self, name, namespace, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4583,7 +4581,7 @@ def connect_post_namespaced_pod_exec_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4721,7 +4719,7 @@ def connect_post_namespaced_pod_portforward_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4849,7 +4847,7 @@ def connect_post_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4980,7 +4978,7 @@ def connect_post_namespaced_pod_proxy_with_path_with_http_info(self, name, names ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5114,7 +5112,7 @@ def connect_post_namespaced_service_proxy_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5245,7 +5243,7 @@ def connect_post_namespaced_service_proxy_with_path_with_http_info(self, name, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5376,7 +5374,7 @@ def connect_post_node_proxy_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5498,7 +5496,7 @@ def connect_post_node_proxy_with_path_with_http_info(self, name, path, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5626,7 +5624,7 @@ def connect_put_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5757,7 +5755,7 @@ def connect_put_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5891,7 +5889,7 @@ def connect_put_namespaced_service_proxy_with_http_info(self, name, namespace, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6022,7 +6020,7 @@ def connect_put_namespaced_service_proxy_with_path_with_http_info(self, name, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6153,7 +6151,7 @@ def connect_put_node_proxy_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6275,7 +6273,7 @@ def connect_put_node_proxy_with_path_with_http_info(self, name, path, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6409,7 +6407,7 @@ def create_namespace_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6546,7 +6544,7 @@ def create_namespaced_binding_with_http_info(self, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6689,7 +6687,7 @@ def create_namespaced_config_map_with_http_info(self, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6832,7 +6830,7 @@ def create_namespaced_endpoints_with_http_info(self, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6975,7 +6973,7 @@ def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7118,7 +7116,7 @@ def create_namespaced_limit_range_with_http_info(self, namespace, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7261,7 +7259,7 @@ def create_namespaced_persistent_volume_claim_with_http_info(self, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7404,7 +7402,7 @@ def create_namespaced_pod_with_http_info(self, namespace, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7550,7 +7548,7 @@ def create_namespaced_pod_binding_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7702,7 +7700,7 @@ def create_namespaced_pod_eviction_with_http_info(self, name, namespace, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7851,7 +7849,7 @@ def create_namespaced_pod_template_with_http_info(self, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -7994,7 +7992,7 @@ def create_namespaced_replication_controller_with_http_info(self, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8137,7 +8135,7 @@ def create_namespaced_resource_quota_with_http_info(self, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8280,7 +8278,7 @@ def create_namespaced_secret_with_http_info(self, namespace, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8423,7 +8421,7 @@ def create_namespaced_service_with_http_info(self, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8566,7 +8564,7 @@ def create_namespaced_service_account_with_http_info(self, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8712,7 +8710,7 @@ def create_namespaced_service_account_token_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8858,7 +8856,7 @@ def create_node_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -8992,7 +8990,7 @@ def create_persistent_volume_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9159,7 +9157,7 @@ def delete_collection_namespaced_config_map_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9348,7 +9346,7 @@ def delete_collection_namespaced_endpoints_with_http_info(self, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9537,7 +9535,7 @@ def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9726,7 +9724,7 @@ def delete_collection_namespaced_limit_range_with_http_info(self, namespace, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -9915,7 +9913,7 @@ def delete_collection_namespaced_persistent_volume_claim_with_http_info(self, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -10104,7 +10102,7 @@ def delete_collection_namespaced_pod_with_http_info(self, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -10293,7 +10291,7 @@ def delete_collection_namespaced_pod_template_with_http_info(self, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -10482,7 +10480,7 @@ def delete_collection_namespaced_replication_controller_with_http_info(self, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -10671,7 +10669,7 @@ def delete_collection_namespaced_resource_quota_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -10860,7 +10858,7 @@ def delete_collection_namespaced_secret_with_http_info(self, namespace, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -11049,7 +11047,7 @@ def delete_collection_namespaced_service_with_http_info(self, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -11238,7 +11236,7 @@ def delete_collection_namespaced_service_account_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -11424,7 +11422,7 @@ def delete_collection_node_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -11604,7 +11602,7 @@ def delete_collection_persistent_volume_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -11763,7 +11761,7 @@ def delete_namespace_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -11915,7 +11913,7 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -12073,7 +12071,7 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -12231,7 +12229,7 @@ def delete_namespaced_event_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -12389,7 +12387,7 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -12547,7 +12545,7 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -12705,7 +12703,7 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -12863,7 +12861,7 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13021,7 +13019,7 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13179,7 +13177,7 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13337,7 +13335,7 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13495,7 +13493,7 @@ def delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13653,7 +13651,7 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13808,7 +13806,7 @@ def delete_node_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -13957,7 +13955,7 @@ def delete_persistent_volume_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -14082,7 +14080,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -14220,7 +14218,7 @@ def list_component_status_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -14380,7 +14378,7 @@ def list_config_map_for_all_namespaces_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -14540,7 +14538,7 @@ def list_endpoints_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -14700,7 +14698,7 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -14860,7 +14858,7 @@ def list_limit_range_for_all_namespaces_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -15020,7 +15018,7 @@ def list_namespace_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -15183,7 +15181,7 @@ def list_namespaced_config_map_with_http_info(self, namespace, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -15352,7 +15350,7 @@ def list_namespaced_endpoints_with_http_info(self, namespace, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -15521,7 +15519,7 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -15690,7 +15688,7 @@ def list_namespaced_limit_range_with_http_info(self, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -15859,7 +15857,7 @@ def list_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -16028,7 +16026,7 @@ def list_namespaced_pod_with_http_info(self, namespace, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -16197,7 +16195,7 @@ def list_namespaced_pod_template_with_http_info(self, namespace, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -16366,7 +16364,7 @@ def list_namespaced_replication_controller_with_http_info(self, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -16535,7 +16533,7 @@ def list_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -16704,7 +16702,7 @@ def list_namespaced_secret_with_http_info(self, namespace, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -16873,7 +16871,7 @@ def list_namespaced_service_with_http_info(self, namespace, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -17042,7 +17040,7 @@ def list_namespaced_service_account_with_http_info(self, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -17208,7 +17206,7 @@ def list_node_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -17368,7 +17366,7 @@ def list_persistent_volume_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -17528,7 +17526,7 @@ def list_persistent_volume_claim_for_all_namespaces_with_http_info(self, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -17688,7 +17686,7 @@ def list_pod_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -17848,7 +17846,7 @@ def list_pod_template_for_all_namespaces_with_http_info(self, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18008,7 +18006,7 @@ def list_replication_controller_for_all_namespaces_with_http_info(self, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18168,7 +18166,7 @@ def list_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18328,7 +18326,7 @@ def list_secret_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18488,7 +18486,7 @@ def list_service_account_for_all_namespaces_with_http_info(self, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18648,7 +18646,7 @@ def list_service_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18796,7 +18794,7 @@ def patch_namespace_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -18948,7 +18946,7 @@ def patch_namespace_status_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -19103,7 +19101,7 @@ def patch_namespaced_config_map_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -19264,7 +19262,7 @@ def patch_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -19425,7 +19423,7 @@ def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -19586,7 +19584,7 @@ def patch_namespaced_limit_range_with_http_info(self, name, namespace, body, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -19747,7 +19745,7 @@ def patch_namespaced_persistent_volume_claim_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -19908,7 +19906,7 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(self, name, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -20069,7 +20067,7 @@ def patch_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -20230,7 +20228,7 @@ def patch_namespaced_pod_ephemeralcontainers_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -20391,7 +20389,7 @@ def patch_namespaced_pod_resize_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -20552,7 +20550,7 @@ def patch_namespaced_pod_status_with_http_info(self, name, namespace, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -20713,7 +20711,7 @@ def patch_namespaced_pod_template_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -20874,7 +20872,7 @@ def patch_namespaced_replication_controller_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -21035,7 +21033,7 @@ def patch_namespaced_replication_controller_scale_with_http_info(self, name, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -21196,7 +21194,7 @@ def patch_namespaced_replication_controller_status_with_http_info(self, name, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -21357,7 +21355,7 @@ def patch_namespaced_resource_quota_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -21518,7 +21516,7 @@ def patch_namespaced_resource_quota_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -21679,7 +21677,7 @@ def patch_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -21840,7 +21838,7 @@ def patch_namespaced_service_with_http_info(self, name, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22001,7 +21999,7 @@ def patch_namespaced_service_account_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22162,7 +22160,7 @@ def patch_namespaced_service_status_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22320,7 +22318,7 @@ def patch_node_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22472,7 +22470,7 @@ def patch_node_status_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22624,7 +22622,7 @@ def patch_persistent_volume_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22776,7 +22774,7 @@ def patch_persistent_volume_status_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -22913,7 +22911,7 @@ def read_component_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23032,7 +23030,7 @@ def read_namespace_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23151,7 +23149,7 @@ def read_namespace_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23273,7 +23271,7 @@ def read_namespaced_config_map_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23401,7 +23399,7 @@ def read_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23529,7 +23527,7 @@ def read_namespaced_event_with_http_info(self, name, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23657,7 +23655,7 @@ def read_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23785,7 +23783,7 @@ def read_namespaced_persistent_volume_claim_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -23913,7 +23911,7 @@ def read_namespaced_persistent_volume_claim_status_with_http_info(self, name, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24041,7 +24039,7 @@ def read_namespaced_pod_with_http_info(self, name, namespace, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24169,7 +24167,7 @@ def read_namespaced_pod_ephemeralcontainers_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24324,7 +24322,7 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24470,7 +24468,7 @@ def read_namespaced_pod_resize_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24598,7 +24596,7 @@ def read_namespaced_pod_status_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24726,7 +24724,7 @@ def read_namespaced_pod_template_with_http_info(self, name, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24854,7 +24852,7 @@ def read_namespaced_replication_controller_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -24982,7 +24980,7 @@ def read_namespaced_replication_controller_scale_with_http_info(self, name, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25110,7 +25108,7 @@ def read_namespaced_replication_controller_status_with_http_info(self, name, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25238,7 +25236,7 @@ def read_namespaced_resource_quota_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25366,7 +25364,7 @@ def read_namespaced_resource_quota_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25494,7 +25492,7 @@ def read_namespaced_secret_with_http_info(self, name, namespace, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25622,7 +25620,7 @@ def read_namespaced_service_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25750,7 +25748,7 @@ def read_namespaced_service_account_with_http_info(self, name, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -25878,7 +25876,7 @@ def read_namespaced_service_status_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26003,7 +26001,7 @@ def read_node_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26122,7 +26120,7 @@ def read_node_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26241,7 +26239,7 @@ def read_persistent_volume_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26360,7 +26358,7 @@ def read_persistent_volume_status_with_http_info(self, name, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26491,7 +26489,7 @@ def replace_namespace_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26634,7 +26632,7 @@ def replace_namespace_finalize_with_http_info(self, name, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26777,7 +26775,7 @@ def replace_namespace_status_with_http_info(self, name, body, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -26923,7 +26921,7 @@ def replace_namespaced_config_map_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27075,7 +27073,7 @@ def replace_namespaced_endpoints_with_http_info(self, name, namespace, body, **k ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27227,7 +27225,7 @@ def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27379,7 +27377,7 @@ def replace_namespaced_limit_range_with_http_info(self, name, namespace, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27531,7 +27529,7 @@ def replace_namespaced_persistent_volume_claim_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27683,7 +27681,7 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27835,7 +27833,7 @@ def replace_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -27987,7 +27985,7 @@ def replace_namespaced_pod_ephemeralcontainers_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -28139,7 +28137,7 @@ def replace_namespaced_pod_resize_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -28291,7 +28289,7 @@ def replace_namespaced_pod_status_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -28443,7 +28441,7 @@ def replace_namespaced_pod_template_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -28595,7 +28593,7 @@ def replace_namespaced_replication_controller_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -28747,7 +28745,7 @@ def replace_namespaced_replication_controller_scale_with_http_info(self, name, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -28899,7 +28897,7 @@ def replace_namespaced_replication_controller_status_with_http_info(self, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29051,7 +29049,7 @@ def replace_namespaced_resource_quota_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29203,7 +29201,7 @@ def replace_namespaced_resource_quota_status_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29355,7 +29353,7 @@ def replace_namespaced_secret_with_http_info(self, name, namespace, body, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29507,7 +29505,7 @@ def replace_namespaced_service_with_http_info(self, name, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29659,7 +29657,7 @@ def replace_namespaced_service_account_with_http_info(self, name, namespace, bod ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29811,7 +29809,7 @@ def replace_namespaced_service_status_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -29960,7 +29958,7 @@ def replace_node_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -30103,7 +30101,7 @@ def replace_node_status_with_http_info(self, name, body, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -30246,7 +30244,7 @@ def replace_persistent_volume_with_http_info(self, name, body, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -30389,7 +30387,7 @@ def replace_persistent_volume_status_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/custom_objects_api.py b/kubernetes/client/api/custom_objects_api.py index 9a9ef0012e..292312ee0d 100644 --- a/kubernetes/client/api/custom_objects_api.py +++ b/kubernetes/client/api/custom_objects_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -121,7 +119,7 @@ def create_cluster_custom_object_with_http_info(self, group, version, plural, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -285,7 +283,7 @@ def create_namespaced_custom_object_with_http_info(self, group, version, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -455,7 +453,7 @@ def delete_cluster_custom_object_with_http_info(self, group, version, plural, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -624,7 +622,7 @@ def delete_collection_cluster_custom_object_with_http_info(self, group, version, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -797,7 +795,7 @@ def delete_collection_namespaced_custom_object_with_http_info(self, group, versi ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -972,7 +970,7 @@ def delete_namespaced_custom_object_with_http_info(self, group, version, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1123,7 +1121,7 @@ def get_api_resources_with_http_info(self, group, version, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1252,7 +1250,7 @@ def get_cluster_custom_object_with_http_info(self, group, version, plural, name, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1393,7 +1391,7 @@ def get_cluster_custom_object_scale_with_http_info(self, group, version, plural, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1534,7 +1532,7 @@ def get_cluster_custom_object_status_with_http_info(self, group, version, plural ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1678,7 +1676,7 @@ def get_namespaced_custom_object_with_http_info(self, group, version, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1828,7 +1826,7 @@ def get_namespaced_custom_object_scale_with_http_info(self, group, version, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1978,7 +1976,7 @@ def get_namespaced_custom_object_status_with_http_info(self, group, version, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2152,7 +2150,7 @@ def list_cluster_custom_object_with_http_info(self, group, version, plural, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2334,7 +2332,7 @@ def list_custom_object_for_all_namespaces_with_http_info(self, group, version, r ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2519,7 +2517,7 @@ def list_namespaced_custom_object_with_http_info(self, group, version, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2695,7 +2693,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2869,7 +2867,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3043,7 +3041,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3220,7 +3218,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3403,7 +3401,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3586,7 +3584,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3763,7 +3761,7 @@ def replace_cluster_custom_object_with_http_info(self, group, version, plural, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3928,7 +3926,7 @@ def replace_cluster_custom_object_scale_with_http_info(self, group, version, plu ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4093,7 +4091,7 @@ def replace_cluster_custom_object_status_with_http_info(self, group, version, pl ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4261,7 +4259,7 @@ def replace_namespaced_custom_object_with_http_info(self, group, version, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4435,7 +4433,7 @@ def replace_namespaced_custom_object_scale_with_http_info(self, group, version, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4609,7 +4607,7 @@ def replace_namespaced_custom_object_status_with_http_info(self, group, version, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/discovery_api.py b/kubernetes/client/api/discovery_api.py index 80c0566b3e..94f814166e 100644 --- a/kubernetes/client/api/discovery_api.py +++ b/kubernetes/client/api/discovery_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/discovery_v1_api.py b/kubernetes/client/api/discovery_v1_api.py index 9afa99000b..fb7b2987ad 100644 --- a/kubernetes/client/api/discovery_v1_api.py +++ b/kubernetes/client/api/discovery_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_endpoint_slice_with_http_info(self, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_endpoint_slice_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_endpoint_slice_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_endpoint_slice_for_all_namespaces_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_endpoint_slice_with_http_info(self, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_endpoint_slice_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1191,7 +1189,7 @@ def read_namespaced_endpoint_slice_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1331,7 +1329,7 @@ def replace_namespaced_endpoint_slice_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/events_api.py b/kubernetes/client/api/events_api.py index 2e66c5b36e..78fbc2c291 100644 --- a/kubernetes/client/api/events_api.py +++ b/kubernetes/client/api/events_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/events_v1_api.py b/kubernetes/client/api/events_v1_api.py index dcc4df783a..2810d7a3cd 100644 --- a/kubernetes/client/api/events_v1_api.py +++ b/kubernetes/client/api/events_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_event_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -725,7 +723,7 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -888,7 +886,7 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1191,7 +1189,7 @@ def read_namespaced_event_with_http_info(self, name, namespace, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1331,7 +1329,7 @@ def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/flowcontrol_apiserver_api.py b/kubernetes/client/api/flowcontrol_apiserver_api.py index 600a2ffee4..67e6b5b371 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py index ce1ce64876..c1a80dd875 100644 --- a/kubernetes/client/api/flowcontrol_apiserver_v1_api.py +++ b/kubernetes/client/api/flowcontrol_apiserver_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_flow_schema_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_priority_level_configuration_with_http_info(self, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -410,7 +408,7 @@ def delete_collection_flow_schema_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -590,7 +588,7 @@ def delete_collection_priority_level_configuration_with_http_info(self, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -749,7 +747,7 @@ def delete_flow_schema_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -898,7 +896,7 @@ def delete_priority_level_configuration_with_http_info(self, name, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1023,7 +1021,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1161,7 +1159,7 @@ def list_flow_schema_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1321,7 +1319,7 @@ def list_priority_level_configuration_with_http_info(self, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1469,7 +1467,7 @@ def patch_flow_schema_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1621,7 +1619,7 @@ def patch_flow_schema_status_with_http_info(self, name, body, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1773,7 +1771,7 @@ def patch_priority_level_configuration_with_http_info(self, name, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1925,7 +1923,7 @@ def patch_priority_level_configuration_status_with_http_info(self, name, body, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2062,7 +2060,7 @@ def read_flow_schema_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2181,7 +2179,7 @@ def read_flow_schema_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2300,7 +2298,7 @@ def read_priority_level_configuration_with_http_info(self, name, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2419,7 +2417,7 @@ def read_priority_level_configuration_status_with_http_info(self, name, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2550,7 +2548,7 @@ def replace_flow_schema_with_http_info(self, name, body, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2693,7 +2691,7 @@ def replace_flow_schema_status_with_http_info(self, name, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2836,7 +2834,7 @@ def replace_priority_level_configuration_with_http_info(self, name, body, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2979,7 +2977,7 @@ def replace_priority_level_configuration_status_with_http_info(self, name, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/internal_apiserver_api.py b/kubernetes/client/api/internal_apiserver_api.py index 624feaaaa7..62ff454664 100644 --- a/kubernetes/client/api/internal_apiserver_api.py +++ b/kubernetes/client/api/internal_apiserver_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py index fc8d167cd3..109d20bd4c 100644 --- a/kubernetes/client/api/internal_apiserver_v1alpha1_api.py +++ b/kubernetes/client/api/internal_apiserver_v1alpha1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_storage_version_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_storage_version_with_http_info(self, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_storage_version_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_storage_version_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_storage_version_with_http_info(self, name, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -998,7 +996,7 @@ def patch_storage_version_status_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1135,7 +1133,7 @@ def read_storage_version_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def read_storage_version_status_with_http_info(self, name, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1385,7 +1383,7 @@ def replace_storage_version_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1528,7 +1526,7 @@ def replace_storage_version_status_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/logs_api.py b/kubernetes/client/api/logs_api.py index ecad1a124c..da3d9dbfca 100644 --- a/kubernetes/client/api/logs_api.py +++ b/kubernetes/client/api/logs_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -98,7 +96,7 @@ def log_file_handler_with_http_info(self, logpath, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -203,7 +201,7 @@ def log_file_list_handler_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/networking_api.py b/kubernetes/client/api/networking_api.py index 0b5c5dd493..d0f6395dab 100644 --- a/kubernetes/client/api/networking_api.py +++ b/kubernetes/client/api/networking_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/networking_v1_api.py b/kubernetes/client/api/networking_v1_api.py index b975921397..496179541b 100644 --- a/kubernetes/client/api/networking_v1_api.py +++ b/kubernetes/client/api/networking_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_ingress_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_ip_address_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -383,7 +381,7 @@ def create_namespaced_ingress_with_http_info(self, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -526,7 +524,7 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -666,7 +664,7 @@ def create_service_cidr_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -830,7 +828,7 @@ def delete_collection_ingress_class_with_http_info(self, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1010,7 +1008,7 @@ def delete_collection_ip_address_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1193,7 +1191,7 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1382,7 +1380,7 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1568,7 +1566,7 @@ def delete_collection_service_cidr_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1727,7 +1725,7 @@ def delete_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1876,7 +1874,7 @@ def delete_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2028,7 +2026,7 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2186,7 +2184,7 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2341,7 +2339,7 @@ def delete_service_cidr_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2466,7 +2464,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2604,7 +2602,7 @@ def list_ingress_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2764,7 +2762,7 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2924,7 +2922,7 @@ def list_ip_address_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3087,7 +3085,7 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3256,7 +3254,7 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3422,7 +3420,7 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3582,7 +3580,7 @@ def list_service_cidr_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3730,7 +3728,7 @@ def patch_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3882,7 +3880,7 @@ def patch_ip_address_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4037,7 +4035,7 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4198,7 +4196,7 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4359,7 +4357,7 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4517,7 +4515,7 @@ def patch_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4669,7 +4667,7 @@ def patch_service_cidr_status_with_http_info(self, name, body, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4806,7 +4804,7 @@ def read_ingress_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4925,7 +4923,7 @@ def read_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5047,7 +5045,7 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5175,7 +5173,7 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5303,7 +5301,7 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5428,7 +5426,7 @@ def read_service_cidr_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5547,7 +5545,7 @@ def read_service_cidr_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5678,7 +5676,7 @@ def replace_ingress_class_with_http_info(self, name, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5821,7 +5819,7 @@ def replace_ip_address_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5967,7 +5965,7 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6119,7 +6117,7 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6271,7 +6269,7 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6420,7 +6418,7 @@ def replace_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6563,7 +6561,7 @@ def replace_service_cidr_status_with_http_info(self, name, body, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/networking_v1beta1_api.py b/kubernetes/client/api/networking_v1beta1_api.py index 46d2250600..990f6784cc 100644 --- a/kubernetes/client/api/networking_v1beta1_api.py +++ b/kubernetes/client/api/networking_v1beta1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_ip_address_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_service_cidr_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -410,7 +408,7 @@ def delete_collection_ip_address_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -590,7 +588,7 @@ def delete_collection_service_cidr_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -749,7 +747,7 @@ def delete_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -898,7 +896,7 @@ def delete_service_cidr_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1023,7 +1021,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1161,7 +1159,7 @@ def list_ip_address_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1321,7 +1319,7 @@ def list_service_cidr_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1469,7 +1467,7 @@ def patch_ip_address_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1621,7 +1619,7 @@ def patch_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1773,7 +1771,7 @@ def patch_service_cidr_status_with_http_info(self, name, body, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1910,7 +1908,7 @@ def read_ip_address_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2029,7 +2027,7 @@ def read_service_cidr_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2148,7 +2146,7 @@ def read_service_cidr_status_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2279,7 +2277,7 @@ def replace_ip_address_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2422,7 +2420,7 @@ def replace_service_cidr_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2565,7 +2563,7 @@ def replace_service_cidr_status_with_http_info(self, name, body, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/node_api.py b/kubernetes/client/api/node_api.py index 6cbe732191..8a6d91cc92 100644 --- a/kubernetes/client/api/node_api.py +++ b/kubernetes/client/api/node_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/node_v1_api.py b/kubernetes/client/api/node_v1_api.py index 85220fcdef..1874eea787 100644 --- a/kubernetes/client/api/node_v1_api.py +++ b/kubernetes/client/api/node_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_runtime_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_runtime_class_with_http_info(self, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_runtime_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_runtime_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_runtime_class_with_http_info(self, name, body, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -983,7 +981,7 @@ def read_runtime_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1114,7 +1112,7 @@ def replace_runtime_class_with_http_info(self, name, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/openid_api.py b/kubernetes/client/api/openid_api.py index 8d17172a35..3d0b0cefa2 100644 --- a/kubernetes/client/api/openid_api.py +++ b/kubernetes/client/api/openid_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_service_account_issuer_open_id_keyset_with_http_info(self, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/policy_api.py b/kubernetes/client/api/policy_api.py index 95ac1ec521..818b5cb83d 100644 --- a/kubernetes/client/api/policy_api.py +++ b/kubernetes/client/api/policy_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/policy_v1_api.py b/kubernetes/client/api/policy_v1_api.py index d8f7fffdc9..71d7c525ba 100644 --- a/kubernetes/client/api/policy_v1_api.py +++ b/kubernetes/client/api/policy_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -115,7 +113,7 @@ def create_namespaced_pod_disruption_budget_with_http_info(self, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -288,7 +286,7 @@ def delete_collection_namespaced_pod_disruption_budget_with_http_info(self, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -456,7 +454,7 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -587,7 +585,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -728,7 +726,7 @@ def list_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -894,7 +892,7 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(self, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1045,7 +1043,7 @@ def patch_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1206,7 +1204,7 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(self, name, nam ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1352,7 +1350,7 @@ def read_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1480,7 +1478,7 @@ def read_namespaced_pod_disruption_budget_status_with_http_info(self, name, name ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1620,7 +1618,7 @@ def replace_namespaced_pod_disruption_budget_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1772,7 +1770,7 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(self, name, n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/rbac_authorization_api.py b/kubernetes/client/api/rbac_authorization_api.py index 5f7105b090..3796e32e90 100644 --- a/kubernetes/client/api/rbac_authorization_api.py +++ b/kubernetes/client/api/rbac_authorization_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/rbac_authorization_v1_api.py b/kubernetes/client/api/rbac_authorization_v1_api.py index aa811e43b9..d9d8cb6c54 100644 --- a/kubernetes/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_cluster_role_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_cluster_role_binding_with_http_info(self, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -383,7 +381,7 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -526,7 +524,7 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -675,7 +673,7 @@ def delete_cluster_role_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -824,7 +822,7 @@ def delete_cluster_role_binding_with_http_info(self, name, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -994,7 +992,7 @@ def delete_collection_cluster_role_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1174,7 +1172,7 @@ def delete_collection_cluster_role_binding_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1357,7 +1355,7 @@ def delete_collection_namespaced_role_with_http_info(self, namespace, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1546,7 +1544,7 @@ def delete_collection_namespaced_role_binding_with_http_info(self, namespace, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1714,7 +1712,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1872,7 +1870,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2003,7 +2001,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2141,7 +2139,7 @@ def list_cluster_role_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2301,7 +2299,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2464,7 +2462,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2633,7 +2631,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): # n ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2799,7 +2797,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2959,7 +2957,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3107,7 +3105,7 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3259,7 +3257,7 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3414,7 +3412,7 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3575,7 +3573,7 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3718,7 +3716,7 @@ def read_cluster_role_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3837,7 +3835,7 @@ def read_cluster_role_binding_with_http_info(self, name, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3959,7 +3957,7 @@ def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4087,7 +4085,7 @@ def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4224,7 +4222,7 @@ def replace_cluster_role_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4367,7 +4365,7 @@ def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4513,7 +4511,7 @@ def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4665,7 +4663,7 @@ def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/resource_api.py b/kubernetes/client/api/resource_api.py index 9355aa8ccf..7bcdcb5dbc 100644 --- a/kubernetes/client/api/resource_api.py +++ b/kubernetes/client/api/resource_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/resource_v1_api.py b/kubernetes/client/api/resource_v1_api.py index abc10f8ca8..155aeb2677 100644 --- a/kubernetes/client/api/resource_v1_api.py +++ b/kubernetes/client/api/resource_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -249,7 +247,7 @@ def create_namespaced_resource_claim_with_http_info(self, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -392,7 +390,7 @@ def create_namespaced_resource_claim_template_with_http_info(self, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -532,7 +530,7 @@ def create_resource_slice_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -696,7 +694,7 @@ def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -879,7 +877,7 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1068,7 +1066,7 @@ def delete_collection_namespaced_resource_claim_template_with_http_info(self, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1413,7 +1411,7 @@ def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1565,7 +1563,7 @@ def delete_namespaced_resource_claim_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1723,7 +1721,7 @@ def delete_namespaced_resource_claim_template_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1878,7 +1876,7 @@ def delete_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2003,7 +2001,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2141,7 +2139,7 @@ def list_device_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2304,7 +2302,7 @@ def list_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2473,7 +2471,7 @@ def list_namespaced_resource_claim_template_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2639,7 +2637,7 @@ def list_resource_claim_for_all_namespaces_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2799,7 +2797,7 @@ def list_resource_claim_template_for_all_namespaces_with_http_info(self, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2959,7 +2957,7 @@ def list_resource_slice_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3107,7 +3105,7 @@ def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3262,7 +3260,7 @@ def patch_namespaced_resource_claim_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3423,7 +3421,7 @@ def patch_namespaced_resource_claim_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3584,7 +3582,7 @@ def patch_namespaced_resource_claim_template_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3742,7 +3740,7 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3879,7 +3877,7 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4001,7 +3999,7 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4129,7 +4127,7 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4257,7 +4255,7 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4382,7 +4380,7 @@ def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4513,7 +4511,7 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4659,7 +4657,7 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4811,7 +4809,7 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4963,7 +4961,7 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5112,7 +5110,7 @@ def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/resource_v1alpha3_api.py b/kubernetes/client/api/resource_v1alpha3_api.py index 8d30c66667..c34837f02d 100644 --- a/kubernetes/client/api/resource_v1alpha3_api.py +++ b/kubernetes/client/api/resource_v1alpha3_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_device_taint_rule_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_device_taint_rule_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_device_taint_rule_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_device_taint_rule_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_device_taint_rule_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -983,7 +981,7 @@ def read_device_taint_rule_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1114,7 +1112,7 @@ def replace_device_taint_rule_with_http_info(self, name, body, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/resource_v1beta1_api.py b/kubernetes/client/api/resource_v1beta1_api.py index 85432de610..4c24939d13 100644 --- a/kubernetes/client/api/resource_v1beta1_api.py +++ b/kubernetes/client/api/resource_v1beta1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -249,7 +247,7 @@ def create_namespaced_resource_claim_with_http_info(self, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -392,7 +390,7 @@ def create_namespaced_resource_claim_template_with_http_info(self, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -532,7 +530,7 @@ def create_resource_slice_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -696,7 +694,7 @@ def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -879,7 +877,7 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1068,7 +1066,7 @@ def delete_collection_namespaced_resource_claim_template_with_http_info(self, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1413,7 +1411,7 @@ def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1565,7 +1563,7 @@ def delete_namespaced_resource_claim_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1723,7 +1721,7 @@ def delete_namespaced_resource_claim_template_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1878,7 +1876,7 @@ def delete_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2003,7 +2001,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2141,7 +2139,7 @@ def list_device_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2304,7 +2302,7 @@ def list_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2473,7 +2471,7 @@ def list_namespaced_resource_claim_template_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2639,7 +2637,7 @@ def list_resource_claim_for_all_namespaces_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2799,7 +2797,7 @@ def list_resource_claim_template_for_all_namespaces_with_http_info(self, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2959,7 +2957,7 @@ def list_resource_slice_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3107,7 +3105,7 @@ def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3262,7 +3260,7 @@ def patch_namespaced_resource_claim_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3423,7 +3421,7 @@ def patch_namespaced_resource_claim_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3584,7 +3582,7 @@ def patch_namespaced_resource_claim_template_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3742,7 +3740,7 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3879,7 +3877,7 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4001,7 +3999,7 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4129,7 +4127,7 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4257,7 +4255,7 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4382,7 +4380,7 @@ def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4513,7 +4511,7 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4659,7 +4657,7 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4811,7 +4809,7 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4963,7 +4961,7 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5112,7 +5110,7 @@ def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/resource_v1beta2_api.py b/kubernetes/client/api/resource_v1beta2_api.py index ed48b28742..037c3c2213 100644 --- a/kubernetes/client/api/resource_v1beta2_api.py +++ b/kubernetes/client/api/resource_v1beta2_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_device_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -249,7 +247,7 @@ def create_namespaced_resource_claim_with_http_info(self, namespace, body, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -392,7 +390,7 @@ def create_namespaced_resource_claim_template_with_http_info(self, namespace, bo ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -532,7 +530,7 @@ def create_resource_slice_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -696,7 +694,7 @@ def delete_collection_device_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -879,7 +877,7 @@ def delete_collection_namespaced_resource_claim_with_http_info(self, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1068,7 +1066,7 @@ def delete_collection_namespaced_resource_claim_template_with_http_info(self, na ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def delete_collection_resource_slice_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1413,7 +1411,7 @@ def delete_device_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1565,7 +1563,7 @@ def delete_namespaced_resource_claim_with_http_info(self, name, namespace, **kwa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1723,7 +1721,7 @@ def delete_namespaced_resource_claim_template_with_http_info(self, name, namespa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1878,7 +1876,7 @@ def delete_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2003,7 +2001,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2141,7 +2139,7 @@ def list_device_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2304,7 +2302,7 @@ def list_namespaced_resource_claim_with_http_info(self, namespace, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2473,7 +2471,7 @@ def list_namespaced_resource_claim_template_with_http_info(self, namespace, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2639,7 +2637,7 @@ def list_resource_claim_for_all_namespaces_with_http_info(self, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2799,7 +2797,7 @@ def list_resource_claim_template_for_all_namespaces_with_http_info(self, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2959,7 +2957,7 @@ def list_resource_slice_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3107,7 +3105,7 @@ def patch_device_class_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3262,7 +3260,7 @@ def patch_namespaced_resource_claim_with_http_info(self, name, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3423,7 +3421,7 @@ def patch_namespaced_resource_claim_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3584,7 +3582,7 @@ def patch_namespaced_resource_claim_template_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3742,7 +3740,7 @@ def patch_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3879,7 +3877,7 @@ def read_device_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4001,7 +3999,7 @@ def read_namespaced_resource_claim_with_http_info(self, name, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4129,7 +4127,7 @@ def read_namespaced_resource_claim_status_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4257,7 +4255,7 @@ def read_namespaced_resource_claim_template_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4382,7 +4380,7 @@ def read_resource_slice_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4513,7 +4511,7 @@ def replace_device_class_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4659,7 +4657,7 @@ def replace_namespaced_resource_claim_with_http_info(self, name, namespace, body ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4811,7 +4809,7 @@ def replace_namespaced_resource_claim_status_with_http_info(self, name, namespac ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4963,7 +4961,7 @@ def replace_namespaced_resource_claim_template_with_http_info(self, name, namesp ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5112,7 +5110,7 @@ def replace_resource_slice_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/scheduling_api.py b/kubernetes/client/api/scheduling_api.py index 1faa1bf52c..8267ea5e3c 100644 --- a/kubernetes/client/api/scheduling_api.py +++ b/kubernetes/client/api/scheduling_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/scheduling_v1_api.py b/kubernetes/client/api/scheduling_v1_api.py index 2bba536580..7b8ac7e475 100644 --- a/kubernetes/client/api/scheduling_v1_api.py +++ b/kubernetes/client/api/scheduling_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_priority_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_priority_class_with_http_info(self, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_priority_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_priority_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_priority_class_with_http_info(self, name, body, **kwargs): # noqa: E5 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -983,7 +981,7 @@ def read_priority_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1114,7 +1112,7 @@ def replace_priority_class_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/storage_api.py b/kubernetes/client/api/storage_api.py index e11a398069..bcefc726cc 100644 --- a/kubernetes/client/api/storage_api.py +++ b/kubernetes/client/api/storage_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/storage_v1_api.py b/kubernetes/client/api/storage_v1_api.py index 1583b1632f..8d57ca9308 100644 --- a/kubernetes/client/api/storage_v1_api.py +++ b/kubernetes/client/api/storage_v1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_csi_driver_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -246,7 +244,7 @@ def create_csi_node_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -383,7 +381,7 @@ def create_namespaced_csi_storage_capacity_with_http_info(self, namespace, body, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -523,7 +521,7 @@ def create_storage_class_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -657,7 +655,7 @@ def create_volume_attachment_with_http_info(self, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -791,7 +789,7 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -955,7 +953,7 @@ def delete_collection_csi_driver_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1135,7 +1133,7 @@ def delete_collection_csi_node_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1318,7 +1316,7 @@ def delete_collection_namespaced_csi_storage_capacity_with_http_info(self, names ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1504,7 +1502,7 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1684,7 +1682,7 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1864,7 +1862,7 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2023,7 +2021,7 @@ def delete_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2172,7 +2170,7 @@ def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2324,7 +2322,7 @@ def delete_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2479,7 +2477,7 @@ def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2628,7 +2626,7 @@ def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2777,7 +2775,7 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -2902,7 +2900,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3040,7 +3038,7 @@ def list_csi_driver_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3200,7 +3198,7 @@ def list_csi_node_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3360,7 +3358,7 @@ def list_csi_storage_capacity_for_all_namespaces_with_http_info(self, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3523,7 +3521,7 @@ def list_namespaced_csi_storage_capacity_with_http_info(self, namespace, **kwarg ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3689,7 +3687,7 @@ def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -3849,7 +3847,7 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4009,7 +4007,7 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4157,7 +4155,7 @@ def patch_csi_driver_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4309,7 +4307,7 @@ def patch_csi_node_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4464,7 +4462,7 @@ def patch_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4622,7 +4620,7 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): # noqa: E50 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4774,7 +4772,7 @@ def patch_volume_attachment_with_http_info(self, name, body, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -4926,7 +4924,7 @@ def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5078,7 +5076,7 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5215,7 +5213,7 @@ def read_csi_driver_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5334,7 +5332,7 @@ def read_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5456,7 +5454,7 @@ def read_namespaced_csi_storage_capacity_with_http_info(self, name, namespace, * ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5581,7 +5579,7 @@ def read_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5700,7 +5698,7 @@ def read_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5819,7 +5817,7 @@ def read_volume_attachment_status_with_http_info(self, name, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -5938,7 +5936,7 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6069,7 +6067,7 @@ def replace_csi_driver_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6212,7 +6210,7 @@ def replace_csi_node_with_http_info(self, name, body, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6358,7 +6356,7 @@ def replace_namespaced_csi_storage_capacity_with_http_info(self, name, namespace ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6507,7 +6505,7 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): # noqa: E ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6650,7 +6648,7 @@ def replace_volume_attachment_with_http_info(self, name, body, **kwargs): # noq ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6793,7 +6791,7 @@ def replace_volume_attachment_status_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -6936,7 +6934,7 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/storage_v1alpha1_api.py b/kubernetes/client/api/storage_v1alpha1_api.py index 4d4ecdd57f..dfd6dc3496 100644 --- a/kubernetes/client/api/storage_v1alpha1_api.py +++ b/kubernetes/client/api/storage_v1alpha1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -983,7 +981,7 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1114,7 +1112,7 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/storage_v1beta1_api.py b/kubernetes/client/api/storage_v1beta1_api.py index aff2c50d41..94c82a48e5 100644 --- a/kubernetes/client/api/storage_v1beta1_api.py +++ b/kubernetes/client/api/storage_v1beta1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_volume_attributes_class_with_http_info(self, body, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_volume_attributes_class_with_http_info(self, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_volume_attributes_class_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_volume_attributes_class_with_http_info(self, name, body, **kwargs): # ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -983,7 +981,7 @@ def read_volume_attributes_class_with_http_info(self, name, **kwargs): # noqa: ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1114,7 +1112,7 @@ def replace_volume_attributes_class_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/storagemigration_api.py b/kubernetes/client/api/storagemigration_api.py index b911ee86c4..b35a800594 100644 --- a/kubernetes/client/api/storagemigration_api.py +++ b/kubernetes/client/api/storagemigration_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_api_group_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/storagemigration_v1alpha1_api.py b/kubernetes/client/api/storagemigration_v1alpha1_api.py index 0103fd55dc..1b85d17396 100644 --- a/kubernetes/client/api/storagemigration_v1alpha1_api.py +++ b/kubernetes/client/api/storagemigration_v1alpha1_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -112,7 +110,7 @@ def create_storage_version_migration_with_http_info(self, body, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -276,7 +274,7 @@ def delete_collection_storage_version_migration_with_http_info(self, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -435,7 +433,7 @@ def delete_storage_version_migration_with_http_info(self, name, **kwargs): # no ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -560,7 +558,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -698,7 +696,7 @@ def list_storage_version_migration_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -846,7 +844,7 @@ def patch_storage_version_migration_with_http_info(self, name, body, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -998,7 +996,7 @@ def patch_storage_version_migration_status_with_http_info(self, name, body, **kw ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1135,7 +1133,7 @@ def read_storage_version_migration_with_http_info(self, name, **kwargs): # noqa ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1254,7 +1252,7 @@ def read_storage_version_migration_status_with_http_info(self, name, **kwargs): ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1385,7 +1383,7 @@ def replace_storage_version_migration_with_http_info(self, name, body, **kwargs) ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" @@ -1528,7 +1526,7 @@ def replace_storage_version_migration_status_with_http_info(self, name, body, ** ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/version_api.py b/kubernetes/client/api/version_api.py index d722190769..7747f5e103 100644 --- a/kubernetes/client/api/version_api.py +++ b/kubernetes/client/api/version_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_code_with_http_info(self, **kwargs): # noqa: E501 ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api/well_known_api.py b/kubernetes/client/api/well_known_api.py index e6491bc46a..705b953708 100644 --- a/kubernetes/client/api/well_known_api.py +++ b/kubernetes/client/api/well_known_api.py @@ -14,8 +14,6 @@ import re # noqa: F401 -# python 2 and python 3 compatibility library -import six from kubernetes.client.api_client import ApiClient from kubernetes.client.exceptions import ( # noqa: F401 @@ -97,7 +95,7 @@ def get_service_account_issuer_open_id_configuration_with_http_info(self, **kwar ] ) - for key, val in six.iteritems(local_var_params['kwargs']): + for key, val in local_var_params['kwargs'].items(): if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index 1f7c7b81e5..f5a2dad434 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -20,9 +20,7 @@ import re import tempfile -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import quote +from urllib.parse import quote from kubernetes.client.configuration import Configuration import kubernetes.client.models @@ -52,10 +50,10 @@ class ApiClient(object): to the API. More threads means more concurrent API requests. """ - PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + PRIMITIVE_TYPES = (float, bool, bytes, str, int) NATIVE_TYPES_MAPPING = { 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 + 'long': int, 'float': float, 'str': str, 'bool': bool, @@ -235,11 +233,11 @@ def sanitize_for_serialization(self, obj): # Convert attribute name to json key in # model definition for request. obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) - for attr, _ in six.iteritems(obj.openapi_types) + for attr, _ in obj.openapi_types.items() if getattr(obj, attr) is not None} return {key: self.sanitize_for_serialization(val) - for key, val in six.iteritems(obj_dict)} + for key, val in obj_dict.items()} def deserialize(self, response, response_type): """Deserializes response into an object. @@ -283,7 +281,7 @@ def __deserialize(self, data, klass): if klass.startswith('dict('): sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) return {k: self.__deserialize(v, sub_kls) - for k, v in six.iteritems(data)} + for k, v in data.items()} # convert str to class if klass in self.NATIVE_TYPES_MAPPING: @@ -434,7 +432,7 @@ def parameters_to_tuples(self, params, collection_formats): new_params = [] if collection_formats is None: collection_formats = {} - for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 + for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 if k in collection_formats: collection_format = collection_formats[k] if collection_format == 'multi': @@ -463,7 +461,7 @@ def files_parameters(self, files=None): params = [] if files: - for k, v in six.iteritems(files): + for k, v in files.items(): if not v: continue file_names = v if type(v) is list else [v] @@ -569,7 +567,7 @@ def __deserialize_primitive(self, data, klass): try: return klass(data) except UnicodeEncodeError: - return six.text_type(data) + return str(data) except TypeError: return data @@ -633,7 +631,7 @@ def __deserialize_model(self, data, klass): if (data is not None and klass.openapi_types is not None and isinstance(data, (list, dict))): - for attr, attr_type in six.iteritems(klass.openapi_types): + for attr, attr_type in klass.openapi_types.items(): if klass.attribute_map[attr] in data: value = data[klass.attribute_map[attr]] kwargs[attr] = self.__deserialize(value, attr_type) diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index f2460998bc..d682a25b66 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -18,8 +18,7 @@ import sys import urllib3 -import six -from six.moves import http_client as httplib +import http.client as httplib import os @@ -252,7 +251,7 @@ def logger_file(self, value): # then add file handler and remove stream handler. self.logger_file_handler = logging.FileHandler(self.__logger_file) self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in six.iteritems(self.logger): + for _, logger in self.logger.items(): logger.addHandler(self.logger_file_handler) @property @@ -274,14 +273,14 @@ def debug(self, value): self.__debug = value if self.__debug: # if debug status is True, turn on debug logging - for _, logger in six.iteritems(self.logger): + for _, logger in self.logger.items(): logger.setLevel(logging.DEBUG) # turn on httplib debug httplib.HTTPConnection.debuglevel = 1 else: # if debug status is False, turn off debug logging, # setting log level to default `logging.WARNING` - for _, logger in six.iteritems(self.logger): + for _, logger in self.logger.items(): logger.setLevel(logging.WARNING) # turn off httplib debug httplib.HTTPConnection.debuglevel = 0 diff --git a/kubernetes/client/exceptions.py b/kubernetes/client/exceptions.py index 51856fac2c..3a88183e59 100644 --- a/kubernetes/client/exceptions.py +++ b/kubernetes/client/exceptions.py @@ -10,9 +10,6 @@ """ -import six - - class OpenApiException(Exception): """The base exception class for all OpenAPIExceptions""" @@ -113,7 +110,7 @@ def render_path(path_to_item): """Returns a string representation of a path""" result = "" for pth in path_to_item: - if isinstance(pth, six.integer_types): + if isinstance(pth, int): result += "[{0}]".format(pth) else: result += "['{0}']".format(pth) diff --git a/kubernetes/client/models/admissionregistration_v1_service_reference.py b/kubernetes/client/models/admissionregistration_v1_service_reference.py index 0fe986dcba..bd81ff6e24 100644 --- a/kubernetes/client/models/admissionregistration_v1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1_service_reference.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from kubernetes.client.configuration import Configuration @@ -165,7 +164,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py index 8bb180bef4..ddee07302a 100644 --- a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py +++ b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/apiextensions_v1_service_reference.py b/kubernetes/client/models/apiextensions_v1_service_reference.py index e108a756b7..15addc4bb3 100644 --- a/kubernetes/client/models/apiextensions_v1_service_reference.py +++ b/kubernetes/client/models/apiextensions_v1_service_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py index 4423990538..a1558fce22 100644 --- a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py +++ b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/apiregistration_v1_service_reference.py b/kubernetes/client/models/apiregistration_v1_service_reference.py index c76c2fb86f..9c74bfcbc4 100644 --- a/kubernetes/client/models/apiregistration_v1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1_service_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/authentication_v1_token_request.py b/kubernetes/client/models/authentication_v1_token_request.py index 2206e9a30f..6180a80d22 100644 --- a/kubernetes/client/models/authentication_v1_token_request.py +++ b/kubernetes/client/models/authentication_v1_token_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/core_v1_endpoint_port.py b/kubernetes/client/models/core_v1_endpoint_port.py index 6c7d20f0e8..cd1dd264c2 100644 --- a/kubernetes/client/models/core_v1_endpoint_port.py +++ b/kubernetes/client/models/core_v1_endpoint_port.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from kubernetes.client.configuration import Configuration @@ -164,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/core_v1_event.py b/kubernetes/client/models/core_v1_event.py index e6306763b6..6c1a0319a1 100644 --- a/kubernetes/client/models/core_v1_event.py +++ b/kubernetes/client/models/core_v1_event.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -519,7 +517,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/core_v1_event_list.py b/kubernetes/client/models/core_v1_event_list.py index f65314771f..491458e4b6 100644 --- a/kubernetes/client/models/core_v1_event_list.py +++ b/kubernetes/client/models/core_v1_event_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/core_v1_event_series.py b/kubernetes/client/models/core_v1_event_series.py index 97b317ec17..9550752f45 100644 --- a/kubernetes/client/models/core_v1_event_series.py +++ b/kubernetes/client/models/core_v1_event_series.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/core_v1_resource_claim.py b/kubernetes/client/models/core_v1_resource_claim.py index 5276e97589..1ef12695b9 100644 --- a/kubernetes/client/models/core_v1_resource_claim.py +++ b/kubernetes/client/models/core_v1_resource_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/discovery_v1_endpoint_port.py b/kubernetes/client/models/discovery_v1_endpoint_port.py index 551ef016b1..2038a919eb 100644 --- a/kubernetes/client/models/discovery_v1_endpoint_port.py +++ b/kubernetes/client/models/discovery_v1_endpoint_port.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/events_v1_event.py b/kubernetes/client/models/events_v1_event.py index 4a69759a09..51ab35ab6e 100644 --- a/kubernetes/client/models/events_v1_event.py +++ b/kubernetes/client/models/events_v1_event.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -518,7 +516,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/events_v1_event_list.py b/kubernetes/client/models/events_v1_event_list.py index e3884287b9..6d35081e46 100644 --- a/kubernetes/client/models/events_v1_event_list.py +++ b/kubernetes/client/models/events_v1_event_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/events_v1_event_series.py b/kubernetes/client/models/events_v1_event_series.py index 30b59b6543..1a94bc5f7c 100644 --- a/kubernetes/client/models/events_v1_event_series.py +++ b/kubernetes/client/models/events_v1_event_series.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/flowcontrol_v1_subject.py b/kubernetes/client/models/flowcontrol_v1_subject.py index bbf34a7ba2..27d3803a5b 100644 --- a/kubernetes/client/models/flowcontrol_v1_subject.py +++ b/kubernetes/client/models/flowcontrol_v1_subject.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -158,7 +156,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/rbac_v1_subject.py b/kubernetes/client/models/rbac_v1_subject.py index a4fc369bca..40ad4be5c2 100644 --- a/kubernetes/client/models/rbac_v1_subject.py +++ b/kubernetes/client/models/rbac_v1_subject.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/resource_v1_resource_claim.py b/kubernetes/client/models/resource_v1_resource_claim.py index fe38c5b55f..216393bc75 100644 --- a/kubernetes/client/models/resource_v1_resource_claim.py +++ b/kubernetes/client/models/resource_v1_resource_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/storage_v1_token_request.py b/kubernetes/client/models/storage_v1_token_request.py index 506b3204e7..9a4f87a868 100644 --- a/kubernetes/client/models/storage_v1_token_request.py +++ b/kubernetes/client/models/storage_v1_token_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_affinity.py b/kubernetes/client/models/v1_affinity.py index e3fd1a950b..944890d80c 100644 --- a/kubernetes/client/models/v1_affinity.py +++ b/kubernetes/client/models/v1_affinity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -129,7 +127,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_aggregation_rule.py b/kubernetes/client/models/v1_aggregation_rule.py index bc9baa166c..0d3a723383 100644 --- a/kubernetes/client/models/v1_aggregation_rule.py +++ b/kubernetes/client/models/v1_aggregation_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_allocated_device_status.py b/kubernetes/client/models/v1_allocated_device_status.py index 39566554cd..cf9206a72e 100644 --- a/kubernetes/client/models/v1_allocated_device_status.py +++ b/kubernetes/client/models/v1_allocated_device_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -248,7 +246,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_allocation_result.py b/kubernetes/client/models/v1_allocation_result.py index db371fc40d..acf3d4019b 100644 --- a/kubernetes/client/models/v1_allocation_result.py +++ b/kubernetes/client/models/v1_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_group.py b/kubernetes/client/models/v1_api_group.py index bf2e3f207c..550abc68de 100644 --- a/kubernetes/client/models/v1_api_group.py +++ b/kubernetes/client/models/v1_api_group.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_group_list.py b/kubernetes/client/models/v1_api_group_list.py index 99040c2396..a4393d6556 100644 --- a/kubernetes/client/models/v1_api_group_list.py +++ b/kubernetes/client/models/v1_api_group_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_resource.py b/kubernetes/client/models/v1_api_resource.py index 35cf3aa86b..738e7592a7 100644 --- a/kubernetes/client/models/v1_api_resource.py +++ b/kubernetes/client/models/v1_api_resource.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -336,7 +334,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_resource_list.py b/kubernetes/client/models/v1_api_resource_list.py index a0cc5d67c7..77fadde6dd 100644 --- a/kubernetes/client/models/v1_api_resource_list.py +++ b/kubernetes/client/models/v1_api_resource_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_service.py b/kubernetes/client/models/v1_api_service.py index 21d260ee2a..3ea03cd5ea 100644 --- a/kubernetes/client/models/v1_api_service.py +++ b/kubernetes/client/models/v1_api_service.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_service_condition.py b/kubernetes/client/models/v1_api_service_condition.py index f9be1379b4..d8234873e2 100644 --- a/kubernetes/client/models/v1_api_service_condition.py +++ b/kubernetes/client/models/v1_api_service_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_service_list.py b/kubernetes/client/models/v1_api_service_list.py index 1c22ea3d38..3c194d71c1 100644 --- a/kubernetes/client/models/v1_api_service_list.py +++ b/kubernetes/client/models/v1_api_service_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_service_spec.py b/kubernetes/client/models/v1_api_service_spec.py index c47f1cc33d..c463b256a0 100644 --- a/kubernetes/client/models/v1_api_service_spec.py +++ b/kubernetes/client/models/v1_api_service_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -250,7 +248,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_service_status.py b/kubernetes/client/models/v1_api_service_status.py index e4fa5e50c7..7e9880227a 100644 --- a/kubernetes/client/models/v1_api_service_status.py +++ b/kubernetes/client/models/v1_api_service_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_api_versions.py b/kubernetes/client/models/v1_api_versions.py index a4028e6cdb..498b245ae9 100644 --- a/kubernetes/client/models/v1_api_versions.py +++ b/kubernetes/client/models/v1_api_versions.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_app_armor_profile.py b/kubernetes/client/models/v1_app_armor_profile.py index 39a81d6223..9f790d8e29 100644 --- a/kubernetes/client/models/v1_app_armor_profile.py +++ b/kubernetes/client/models/v1_app_armor_profile.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index 4d861528ce..c0a378ed34 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_audit_annotation.py b/kubernetes/client/models/v1_audit_annotation.py index 9289b060af..c8f3cb00a8 100644 --- a/kubernetes/client/models/v1_audit_annotation.py +++ b/kubernetes/client/models/v1_audit_annotation.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index dce4e8161b..43f34e42af 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -13,7 +13,6 @@ import pprint import re # noqa: F401 -import six from kubernetes.client.configuration import Configuration @@ -164,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index af3584ba3d..80cb4f1e1f 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py index 972387edc3..6358832881 100644 --- a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index a901ff5891..de0b55bd8e 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index c10ce20e17..384522f0f3 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_bound_object_reference.py b/kubernetes/client/models/v1_bound_object_reference.py index db83759970..abfc2fe7c3 100644 --- a/kubernetes/client/models/v1_bound_object_reference.py +++ b/kubernetes/client/models/v1_bound_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index ca4e420d34..6bb7050a51 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_capacity_request_policy.py b/kubernetes/client/models/v1_capacity_request_policy.py index e0229b4ba5..9513c531c7 100644 --- a/kubernetes/client/models/v1_capacity_request_policy.py +++ b/kubernetes/client/models/v1_capacity_request_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_capacity_request_policy_range.py b/kubernetes/client/models/v1_capacity_request_policy_range.py index 63f9d48056..62bfdca2ee 100644 --- a/kubernetes/client/models/v1_capacity_request_policy_range.py +++ b/kubernetes/client/models/v1_capacity_request_policy_range.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_capacity_requirements.py b/kubernetes/client/models/v1_capacity_requirements.py index 6d2d1d1243..6dadf3b89f 100644 --- a/kubernetes/client/models/v1_capacity_requirements.py +++ b/kubernetes/client/models/v1_capacity_requirements.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cel_device_selector.py b/kubernetes/client/models/v1_cel_device_selector.py index 4f560e3561..e8bcb9cb3c 100644 --- a/kubernetes/client/models/v1_cel_device_selector.py +++ b/kubernetes/client/models/v1_cel_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py index e58ff203ad..1b36c273c2 100644 --- a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -218,7 +216,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index 03e189bdc3..ce691a60ee 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -218,7 +216,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_certificate_signing_request.py b/kubernetes/client/models/v1_certificate_signing_request.py index b1f579b856..a4a23dd616 100644 --- a/kubernetes/client/models/v1_certificate_signing_request.py +++ b/kubernetes/client/models/v1_certificate_signing_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_certificate_signing_request_condition.py b/kubernetes/client/models/v1_certificate_signing_request_condition.py index 04075c0adf..9d2fa9ce9d 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1_certificate_signing_request_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_certificate_signing_request_list.py b/kubernetes/client/models/v1_certificate_signing_request_list.py index 783f0546e3..b0b5fed248 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1_certificate_signing_request_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_certificate_signing_request_spec.py b/kubernetes/client/models/v1_certificate_signing_request_spec.py index 967dbc32b2..3f968d59a6 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1_certificate_signing_request_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -280,7 +278,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_certificate_signing_request_status.py b/kubernetes/client/models/v1_certificate_signing_request_status.py index f95df792fe..7b1cb9ace8 100644 --- a/kubernetes/client/models/v1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1_certificate_signing_request_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -110,7 +108,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/client/models/v1_cinder_persistent_volume_source.py index d52eafbdec..d7b49bef91 100644 --- a/kubernetes/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index 00adcb0fe8..59bd8351e5 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_client_ip_config.py b/kubernetes/client/models/v1_client_ip_config.py index 063eadf873..46611f65ea 100644 --- a/kubernetes/client/models/v1_client_ip_config.py +++ b/kubernetes/client/models/v1_client_ip_config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cluster_role.py b/kubernetes/client/models/v1_cluster_role.py index f1be5dc262..285a96b0aa 100644 --- a/kubernetes/client/models/v1_cluster_role.py +++ b/kubernetes/client/models/v1_cluster_role.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -187,7 +185,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cluster_role_binding.py b/kubernetes/client/models/v1_cluster_role_binding.py index 4d09220638..c9fbce3bee 100644 --- a/kubernetes/client/models/v1_cluster_role_binding.py +++ b/kubernetes/client/models/v1_cluster_role_binding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -188,7 +186,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cluster_role_binding_list.py b/kubernetes/client/models/v1_cluster_role_binding_list.py index 5ed86f1370..5dc4780235 100644 --- a/kubernetes/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cluster_role_list.py b/kubernetes/client/models/v1_cluster_role_list.py index 87ac2c5ea4..695df3f4b6 100644 --- a/kubernetes/client/models/v1_cluster_role_list.py +++ b/kubernetes/client/models/v1_cluster_role_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cluster_trust_bundle_projection.py b/kubernetes/client/models/v1_cluster_trust_bundle_projection.py index c5fd33d652..cefe02a2b5 100644 --- a/kubernetes/client/models/v1_cluster_trust_bundle_projection.py +++ b/kubernetes/client/models/v1_cluster_trust_bundle_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index a5e37b2f7c..0e54cec51e 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index 1c6078f003..99d4fe3511 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index c97175d996..51d35e5367 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_condition.py b/kubernetes/client/models/v1_condition.py index 965d832bbc..48b734abd5 100644 --- a/kubernetes/client/models/v1_condition.py +++ b/kubernetes/client/models/v1_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -224,7 +222,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 4fc1693eab..3f16222a0f 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -217,7 +215,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map_env_source.py b/kubernetes/client/models/v1_config_map_env_source.py index 82464b6222..e66cb52cd6 100644 --- a/kubernetes/client/models/v1_config_map_env_source.py +++ b/kubernetes/client/models/v1_config_map_env_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index 2823e06e72..b2c643a398 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 9c5a9cd6da..a4f7a20a53 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map_node_config_source.py b/kubernetes/client/models/v1_config_map_node_config_source.py index e5f2e107ac..40afc75804 100644 --- a/kubernetes/client/models/v1_config_map_node_config_source.py +++ b/kubernetes/client/models/v1_config_map_node_config_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -194,7 +192,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map_projection.py b/kubernetes/client/models/v1_config_map_projection.py index 8ed2ed2086..cd8b84ab7e 100644 --- a/kubernetes/client/models/v1_config_map_projection.py +++ b/kubernetes/client/models/v1_config_map_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index c679238160..585533baeb 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 627bcf8a0e..2c5012035b 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -740,7 +738,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_extended_resource_request.py b/kubernetes/client/models/v1_container_extended_resource_request.py index 6eae2f728b..ff6b2e19b7 100644 --- a/kubernetes/client/models/v1_container_extended_resource_request.py +++ b/kubernetes/client/models/v1_container_extended_resource_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -138,7 +136,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index c3db0c74fc..531701ff6e 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index aba2c95751..72de835860 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -192,7 +190,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_resize_policy.py b/kubernetes/client/models/v1_container_resize_policy.py index a40aeda627..0d61a4650d 100644 --- a/kubernetes/client/models/v1_container_resize_policy.py +++ b/kubernetes/client/models/v1_container_resize_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_restart_rule.py b/kubernetes/client/models/v1_container_restart_rule.py index 174cd86d85..02c382305c 100644 --- a/kubernetes/client/models/v1_container_restart_rule.py +++ b/kubernetes/client/models/v1_container_restart_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py b/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py index 341a8a04e2..230239df9d 100644 --- a/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py +++ b/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index ead4f7b92e..beeaea53f6 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -129,7 +127,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index 382d0b21d8..f9b6f7d3ea 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index a69ca222bc..9e9eb19314 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -248,7 +246,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index 016d507948..715a47c0c7 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index d66ca3824f..a45db8c7d5 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -468,7 +466,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_container_user.py b/kubernetes/client/models/v1_container_user.py index 62a132cf10..de3fd3a02e 100644 --- a/kubernetes/client/models/v1_container_user.py +++ b/kubernetes/client/models/v1_container_user.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_controller_revision.py b/kubernetes/client/models/v1_controller_revision.py index 1492bf6bac..898874a108 100644 --- a/kubernetes/client/models/v1_controller_revision.py +++ b/kubernetes/client/models/v1_controller_revision.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_controller_revision_list.py b/kubernetes/client/models/v1_controller_revision_list.py index eaba37b5d2..f29767c186 100644 --- a/kubernetes/client/models/v1_controller_revision_list.py +++ b/kubernetes/client/models/v1_controller_revision_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_counter.py b/kubernetes/client/models/v1_counter.py index 69277a265c..7c3d3fcfca 100644 --- a/kubernetes/client/models/v1_counter.py +++ b/kubernetes/client/models/v1_counter.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_counter_set.py b/kubernetes/client/models/v1_counter_set.py index 7866b0a759..c82c670995 100644 --- a/kubernetes/client/models/v1_counter_set.py +++ b/kubernetes/client/models/v1_counter_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cron_job.py b/kubernetes/client/models/v1_cron_job.py index 44bff7fe97..3af4ca4cac 100644 --- a/kubernetes/client/models/v1_cron_job.py +++ b/kubernetes/client/models/v1_cron_job.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cron_job_list.py b/kubernetes/client/models/v1_cron_job_list.py index 70caf8ee60..fc839a07f8 100644 --- a/kubernetes/client/models/v1_cron_job_list.py +++ b/kubernetes/client/models/v1_cron_job_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cron_job_spec.py b/kubernetes/client/models/v1_cron_job_spec.py index 1a466d85ac..3514ff2e06 100644 --- a/kubernetes/client/models/v1_cron_job_spec.py +++ b/kubernetes/client/models/v1_cron_job_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -275,7 +273,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cron_job_status.py b/kubernetes/client/models/v1_cron_job_status.py index 8486aaf90a..30e7dea6a2 100644 --- a/kubernetes/client/models/v1_cron_job_status.py +++ b/kubernetes/client/models/v1_cron_job_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index 5bdf1f0a33..dfaec62cd4 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_driver.py b/kubernetes/client/models/v1_csi_driver.py index 644c51ddc6..983cf6dfdc 100644 --- a/kubernetes/client/models/v1_csi_driver.py +++ b/kubernetes/client/models/v1_csi_driver.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_driver_list.py b/kubernetes/client/models/v1_csi_driver_list.py index 6d0301b267..0eafefacba 100644 --- a/kubernetes/client/models/v1_csi_driver_list.py +++ b/kubernetes/client/models/v1_csi_driver_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_driver_spec.py b/kubernetes/client/models/v1_csi_driver_spec.py index 1239b3664e..771b904efe 100644 --- a/kubernetes/client/models/v1_csi_driver_spec.py +++ b/kubernetes/client/models/v1_csi_driver_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -303,7 +301,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_node.py b/kubernetes/client/models/v1_csi_node.py index ea04497ac6..7e71039528 100644 --- a/kubernetes/client/models/v1_csi_node.py +++ b/kubernetes/client/models/v1_csi_node.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_node_driver.py b/kubernetes/client/models/v1_csi_node_driver.py index 4619301a6e..785f8bd1aa 100644 --- a/kubernetes/client/models/v1_csi_node_driver.py +++ b/kubernetes/client/models/v1_csi_node_driver.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_node_list.py b/kubernetes/client/models/v1_csi_node_list.py index 307b5efa5a..34668171ce 100644 --- a/kubernetes/client/models/v1_csi_node_list.py +++ b/kubernetes/client/models/v1_csi_node_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_node_spec.py b/kubernetes/client/models/v1_csi_node_spec.py index e9aab87a16..6c971b700d 100644 --- a/kubernetes/client/models/v1_csi_node_spec.py +++ b/kubernetes/client/models/v1_csi_node_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_persistent_volume_source.py b/kubernetes/client/models/v1_csi_persistent_volume_source.py index 6a58efaafd..d85f5fb30b 100644 --- a/kubernetes/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -323,7 +321,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_storage_capacity.py b/kubernetes/client/models/v1_csi_storage_capacity.py index b3438c7302..715791ddc8 100644 --- a/kubernetes/client/models/v1_csi_storage_capacity.py +++ b/kubernetes/client/models/v1_csi_storage_capacity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -244,7 +242,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_storage_capacity_list.py b/kubernetes/client/models/v1_csi_storage_capacity_list.py index 70742fe71a..a7ff0a31e8 100644 --- a/kubernetes/client/models/v1_csi_storage_capacity_list.py +++ b/kubernetes/client/models/v1_csi_storage_capacity_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_csi_volume_source.py b/kubernetes/client/models/v1_csi_volume_source.py index b32c3b54c0..7582310660 100644 --- a/kubernetes/client/models/v1_csi_volume_source.py +++ b/kubernetes/client/models/v1_csi_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_column_definition.py b/kubernetes/client/models/v1_custom_resource_column_definition.py index 134d7568d5..d1150e8e90 100644 --- a/kubernetes/client/models/v1_custom_resource_column_definition.py +++ b/kubernetes/client/models/v1_custom_resource_column_definition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -222,7 +220,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_conversion.py b/kubernetes/client/models/v1_custom_resource_conversion.py index 88083cd19a..8b44076c5a 100644 --- a/kubernetes/client/models/v1_custom_resource_conversion.py +++ b/kubernetes/client/models/v1_custom_resource_conversion.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition.py b/kubernetes/client/models/v1_custom_resource_definition.py index c34b5f0e90..c6f11f5206 100644 --- a/kubernetes/client/models/v1_custom_resource_definition.py +++ b/kubernetes/client/models/v1_custom_resource_definition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition_condition.py b/kubernetes/client/models/v1_custom_resource_definition_condition.py index f80c1115c5..9770d03339 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1_custom_resource_definition_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition_list.py b/kubernetes/client/models/v1_custom_resource_definition_list.py index e8eef888e2..9d8c9268e8 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1_custom_resource_definition_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition_names.py b/kubernetes/client/models/v1_custom_resource_definition_names.py index faf0c856a2..63977bbad1 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1_custom_resource_definition_names.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition_spec.py b/kubernetes/client/models/v1_custom_resource_definition_spec.py index ef2ca29285..965da09bb1 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1_custom_resource_definition_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition_status.py b/kubernetes/client/models/v1_custom_resource_definition_status.py index c83ff7c3fe..567832a5b9 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1_custom_resource_definition_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_definition_version.py b/kubernetes/client/models/v1_custom_resource_definition_version.py index 55c8eaff30..acddc1f006 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_version.py +++ b/kubernetes/client/models/v1_custom_resource_definition_version.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -302,7 +300,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1_custom_resource_subresource_scale.py index 97efd8ff98..1f5fc407c8 100644 --- a/kubernetes/client/models/v1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1_custom_resource_subresource_scale.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_subresources.py b/kubernetes/client/models/v1_custom_resource_subresources.py index f7fc628777..b061198506 100644 --- a/kubernetes/client/models/v1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1_custom_resource_subresources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_custom_resource_validation.py b/kubernetes/client/models/v1_custom_resource_validation.py index f11a7a7f93..37a51a009c 100644 --- a/kubernetes/client/models/v1_custom_resource_validation.py +++ b/kubernetes/client/models/v1_custom_resource_validation.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index 9f3ab31cc1..9660bc7df5 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_set.py b/kubernetes/client/models/v1_daemon_set.py index 3d13c27b85..9015b25372 100644 --- a/kubernetes/client/models/v1_daemon_set.py +++ b/kubernetes/client/models/v1_daemon_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_set_condition.py b/kubernetes/client/models/v1_daemon_set_condition.py index a46994adb7..7fcc169ea8 100644 --- a/kubernetes/client/models/v1_daemon_set_condition.py +++ b/kubernetes/client/models/v1_daemon_set_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_set_list.py b/kubernetes/client/models/v1_daemon_set_list.py index c7c5270c2b..7853dc244e 100644 --- a/kubernetes/client/models/v1_daemon_set_list.py +++ b/kubernetes/client/models/v1_daemon_set_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_set_spec.py b/kubernetes/client/models/v1_daemon_set_spec.py index abdad44a6b..1c61448ac1 100644 --- a/kubernetes/client/models/v1_daemon_set_spec.py +++ b/kubernetes/client/models/v1_daemon_set_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -187,7 +185,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_set_status.py b/kubernetes/client/models/v1_daemon_set_status.py index a9b11980a7..8089b8a6d5 100644 --- a/kubernetes/client/models/v1_daemon_set_status.py +++ b/kubernetes/client/models/v1_daemon_set_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -335,7 +333,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_daemon_set_update_strategy.py b/kubernetes/client/models/v1_daemon_set_update_strategy.py index 9072149582..af2697b8dd 100644 --- a/kubernetes/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 2f4200062c..a1a08e5052 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -273,7 +271,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_deployment.py b/kubernetes/client/models/v1_deployment.py index a5189b910c..15b5f77e3f 100644 --- a/kubernetes/client/models/v1_deployment.py +++ b/kubernetes/client/models/v1_deployment.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_deployment_condition.py b/kubernetes/client/models/v1_deployment_condition.py index ace525cc14..d41abe78c6 100644 --- a/kubernetes/client/models/v1_deployment_condition.py +++ b/kubernetes/client/models/v1_deployment_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_deployment_list.py b/kubernetes/client/models/v1_deployment_list.py index 690c77deb1..7867565615 100644 --- a/kubernetes/client/models/v1_deployment_list.py +++ b/kubernetes/client/models/v1_deployment_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_deployment_spec.py b/kubernetes/client/models/v1_deployment_spec.py index 97d2af00fb..6cf5197934 100644 --- a/kubernetes/client/models/v1_deployment_spec.py +++ b/kubernetes/client/models/v1_deployment_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -271,7 +269,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_deployment_status.py b/kubernetes/client/models/v1_deployment_status.py index fe63200386..4eb3fadbf9 100644 --- a/kubernetes/client/models/v1_deployment_status.py +++ b/kubernetes/client/models/v1_deployment_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -303,7 +301,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_deployment_strategy.py b/kubernetes/client/models/v1_deployment_strategy.py index 438e334c34..9ac7560f4d 100644 --- a/kubernetes/client/models/v1_deployment_strategy.py +++ b/kubernetes/client/models/v1_deployment_strategy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device.py b/kubernetes/client/models/v1_device.py index 0572cc6937..d9497e7845 100644 --- a/kubernetes/client/models/v1_device.py +++ b/kubernetes/client/models/v1_device.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -386,7 +384,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_allocation_configuration.py b/kubernetes/client/models/v1_device_allocation_configuration.py index 39977c79cc..027cfa08c0 100644 --- a/kubernetes/client/models/v1_device_allocation_configuration.py +++ b/kubernetes/client/models/v1_device_allocation_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_allocation_result.py b/kubernetes/client/models/v1_device_allocation_result.py index 0296674a9c..82a6c20ead 100644 --- a/kubernetes/client/models/v1_device_allocation_result.py +++ b/kubernetes/client/models/v1_device_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_attribute.py b/kubernetes/client/models/v1_device_attribute.py index 1f5701c9bd..a67391863e 100644 --- a/kubernetes/client/models/v1_device_attribute.py +++ b/kubernetes/client/models/v1_device_attribute.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_capacity.py b/kubernetes/client/models/v1_device_capacity.py index ed46a09072..530c863170 100644 --- a/kubernetes/client/models/v1_device_capacity.py +++ b/kubernetes/client/models/v1_device_capacity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_claim.py b/kubernetes/client/models/v1_device_claim.py index 542c611d67..08bf465e84 100644 --- a/kubernetes/client/models/v1_device_claim.py +++ b/kubernetes/client/models/v1_device_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_claim_configuration.py b/kubernetes/client/models/v1_device_claim_configuration.py index 7d1622384f..e35ff1c808 100644 --- a/kubernetes/client/models/v1_device_claim_configuration.py +++ b/kubernetes/client/models/v1_device_claim_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_class.py b/kubernetes/client/models/v1_device_class.py index f1c37fdffa..a5aaa488eb 100644 --- a/kubernetes/client/models/v1_device_class.py +++ b/kubernetes/client/models/v1_device_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_class_configuration.py b/kubernetes/client/models/v1_device_class_configuration.py index f2ca5b7cd4..683bca230f 100644 --- a/kubernetes/client/models/v1_device_class_configuration.py +++ b/kubernetes/client/models/v1_device_class_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_class_list.py b/kubernetes/client/models/v1_device_class_list.py index 25e79a8f50..ff3ac2fed0 100644 --- a/kubernetes/client/models/v1_device_class_list.py +++ b/kubernetes/client/models/v1_device_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_class_spec.py b/kubernetes/client/models/v1_device_class_spec.py index 6a565b97ac..0757d32af1 100644 --- a/kubernetes/client/models/v1_device_class_spec.py +++ b/kubernetes/client/models/v1_device_class_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_constraint.py b/kubernetes/client/models/v1_device_constraint.py index 6f84dc3fc3..3794e185ba 100644 --- a/kubernetes/client/models/v1_device_constraint.py +++ b/kubernetes/client/models/v1_device_constraint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_counter_consumption.py b/kubernetes/client/models/v1_device_counter_consumption.py index 2d9ae20274..391be966f2 100644 --- a/kubernetes/client/models/v1_device_counter_consumption.py +++ b/kubernetes/client/models/v1_device_counter_consumption.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_request.py b/kubernetes/client/models/v1_device_request.py index be01eec4db..b91a54daa5 100644 --- a/kubernetes/client/models/v1_device_request.py +++ b/kubernetes/client/models/v1_device_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_request_allocation_result.py b/kubernetes/client/models/v1_device_request_allocation_result.py index 7c3f111fbc..f18f3f9492 100644 --- a/kubernetes/client/models/v1_device_request_allocation_result.py +++ b/kubernetes/client/models/v1_device_request_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -335,7 +333,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_selector.py b/kubernetes/client/models/v1_device_selector.py index f404483b34..cec608782e 100644 --- a/kubernetes/client/models/v1_device_selector.py +++ b/kubernetes/client/models/v1_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_sub_request.py b/kubernetes/client/models/v1_device_sub_request.py index 2d22f81ba2..2dcf1b7256 100644 --- a/kubernetes/client/models/v1_device_sub_request.py +++ b/kubernetes/client/models/v1_device_sub_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -247,7 +245,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_taint.py b/kubernetes/client/models/v1_device_taint.py index 969f1f8f41..78d900078e 100644 --- a/kubernetes/client/models/v1_device_taint.py +++ b/kubernetes/client/models/v1_device_taint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_device_toleration.py b/kubernetes/client/models/v1_device_toleration.py index 468d168e25..46f4cea10b 100644 --- a/kubernetes/client/models/v1_device_toleration.py +++ b/kubernetes/client/models/v1_device_toleration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_downward_api_projection.py b/kubernetes/client/models/v1_downward_api_projection.py index 776c8d45f7..33953a9eee 100644 --- a/kubernetes/client/models/v1_downward_api_projection.py +++ b/kubernetes/client/models/v1_downward_api_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py index c613fb044d..1e89b2643b 100644 --- a/kubernetes/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py index 96ed9d3808..2a6ddb9a40 100644 --- a/kubernetes/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py index 160d27ec27..fad7d52196 100644 --- a/kubernetes/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint.py b/kubernetes/client/models/v1_endpoint.py index 4bceaa8fcf..e278b2c95f 100644 --- a/kubernetes/client/models/v1_endpoint.py +++ b/kubernetes/client/models/v1_endpoint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -270,7 +268,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index 599bf9ab50..8240dd3509 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint_conditions.py b/kubernetes/client/models/v1_endpoint_conditions.py index 9b6792c93d..249ed8f812 100644 --- a/kubernetes/client/models/v1_endpoint_conditions.py +++ b/kubernetes/client/models/v1_endpoint_conditions.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint_hints.py b/kubernetes/client/models/v1_endpoint_hints.py index 308febe970..7476d8d61b 100644 --- a/kubernetes/client/models/v1_endpoint_hints.py +++ b/kubernetes/client/models/v1_endpoint_hints.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint_slice.py b/kubernetes/client/models/v1_endpoint_slice.py index dfca3e85bb..325fa12704 100644 --- a/kubernetes/client/models/v1_endpoint_slice.py +++ b/kubernetes/client/models/v1_endpoint_slice.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint_slice_list.py b/kubernetes/client/models/v1_endpoint_slice_list.py index 47c2089cbd..9d4e29ed0a 100644 --- a/kubernetes/client/models/v1_endpoint_slice_list.py +++ b/kubernetes/client/models/v1_endpoint_slice_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index 6f13a3f7db..cf45f3a1fe 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index 565c7d566e..ee294458d5 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index 5a5f15ad56..822ea5c30e 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_env_from_source.py b/kubernetes/client/models/v1_env_from_source.py index fe012ebd09..a215d7abc3 100644 --- a/kubernetes/client/models/v1_env_from_source.py +++ b/kubernetes/client/models/v1_env_from_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index ec1330a124..d23047dd24 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index 75a1f2f127..81809ebb81 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -181,7 +179,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ephemeral_container.py b/kubernetes/client/models/v1_ephemeral_container.py index 204e83d992..8f05b8ee10 100644 --- a/kubernetes/client/models/v1_ephemeral_container.py +++ b/kubernetes/client/models/v1_ephemeral_container.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -768,7 +766,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ephemeral_volume_source.py b/kubernetes/client/models/v1_ephemeral_volume_source.py index 432621f6d0..f3b0b9cae0 100644 --- a/kubernetes/client/models/v1_ephemeral_volume_source.py +++ b/kubernetes/client/models/v1_ephemeral_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index 065e9a0455..aa0dee700a 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_eviction.py b/kubernetes/client/models/v1_eviction.py index a36f4b14b2..7a5dd2c8e9 100644 --- a/kubernetes/client/models/v1_eviction.py +++ b/kubernetes/client/models/v1_eviction.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_exact_device_request.py b/kubernetes/client/models/v1_exact_device_request.py index 5888860f8f..09831bd1b7 100644 --- a/kubernetes/client/models/v1_exact_device_request.py +++ b/kubernetes/client/models/v1_exact_device_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -246,7 +244,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index 7801d7de3e..b47e455f6d 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_exempt_priority_level_configuration.py b/kubernetes/client/models/v1_exempt_priority_level_configuration.py index 3728747057..6311417734 100644 --- a/kubernetes/client/models/v1_exempt_priority_level_configuration.py +++ b/kubernetes/client/models/v1_exempt_priority_level_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_expression_warning.py b/kubernetes/client/models/v1_expression_warning.py index ebfe2fa7a9..8e33c2bad4 100644 --- a/kubernetes/client/models/v1_expression_warning.py +++ b/kubernetes/client/models/v1_expression_warning.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_external_documentation.py b/kubernetes/client/models/v1_external_documentation.py index 6551bf5a07..c5be1f83b0 100644 --- a/kubernetes/client/models/v1_external_documentation.py +++ b/kubernetes/client/models/v1_external_documentation.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -103,7 +101,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py index d6b2ca75db..e9f817ba9b 100644 --- a/kubernetes/client/models/v1_fc_volume_source.py +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_field_selector_attributes.py b/kubernetes/client/models/v1_field_selector_attributes.py index a38d3da9df..60c18a2f1f 100644 --- a/kubernetes/client/models/v1_field_selector_attributes.py +++ b/kubernetes/client/models/v1_field_selector_attributes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_field_selector_requirement.py b/kubernetes/client/models/v1_field_selector_requirement.py index 06756f31cf..49bb161eac 100644 --- a/kubernetes/client/models/v1_field_selector_requirement.py +++ b/kubernetes/client/models/v1_field_selector_requirement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_file_key_selector.py b/kubernetes/client/models/v1_file_key_selector.py index 323c7bdbb5..1209335878 100644 --- a/kubernetes/client/models/v1_file_key_selector.py +++ b/kubernetes/client/models/v1_file_key_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -166,7 +164,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flex_persistent_volume_source.py b/kubernetes/client/models/v1_flex_persistent_volume_source.py index a121e4a6d5..798e4628fb 100644 --- a/kubernetes/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes/client/models/v1_flex_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py index c7a1d0c33b..e50c2e070f 100644 --- a/kubernetes/client/models/v1_flex_volume_source.py +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py index 38d3139524..43943febd6 100644 --- a/kubernetes/client/models/v1_flocker_volume_source.py +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flow_distinguisher_method.py b/kubernetes/client/models/v1_flow_distinguisher_method.py index 43a5529f0f..93758463ab 100644 --- a/kubernetes/client/models/v1_flow_distinguisher_method.py +++ b/kubernetes/client/models/v1_flow_distinguisher_method.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flow_schema.py b/kubernetes/client/models/v1_flow_schema.py index ae58420766..25f9ca0e8b 100644 --- a/kubernetes/client/models/v1_flow_schema.py +++ b/kubernetes/client/models/v1_flow_schema.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flow_schema_condition.py b/kubernetes/client/models/v1_flow_schema_condition.py index 8746e9d2e0..3a226b58a1 100644 --- a/kubernetes/client/models/v1_flow_schema_condition.py +++ b/kubernetes/client/models/v1_flow_schema_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flow_schema_list.py b/kubernetes/client/models/v1_flow_schema_list.py index ab5b452bba..47f43f80a3 100644 --- a/kubernetes/client/models/v1_flow_schema_list.py +++ b/kubernetes/client/models/v1_flow_schema_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flow_schema_spec.py b/kubernetes/client/models/v1_flow_schema_spec.py index 8a1d6bce36..1ef02e2337 100644 --- a/kubernetes/client/models/v1_flow_schema_spec.py +++ b/kubernetes/client/models/v1_flow_schema_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_flow_schema_status.py b/kubernetes/client/models/v1_flow_schema_status.py index 3da97ba9a8..e647991868 100644 --- a/kubernetes/client/models/v1_flow_schema_status.py +++ b/kubernetes/client/models/v1_flow_schema_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_for_node.py b/kubernetes/client/models/v1_for_node.py index 99c4d0336e..839b1f18b7 100644 --- a/kubernetes/client/models/v1_for_node.py +++ b/kubernetes/client/models/v1_for_node.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_for_zone.py b/kubernetes/client/models/v1_for_zone.py index 96589ae24a..9b95371825 100644 --- a/kubernetes/client/models/v1_for_zone.py +++ b/kubernetes/client/models/v1_for_zone.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py index 13e3defbd3..2a403df3a6 100644 --- a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -164,7 +162,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py index 14e7f9ec49..2989e10e06 100644 --- a/kubernetes/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py index 2ecdbe93f2..04616b25d1 100644 --- a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py index 2bf18a7400..23bed14000 100644 --- a/kubernetes/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_group_subject.py b/kubernetes/client/models/v1_group_subject.py index ea1647f867..b521a51b33 100644 --- a/kubernetes/client/models/v1_group_subject.py +++ b/kubernetes/client/models/v1_group_subject.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_group_version_for_discovery.py b/kubernetes/client/models/v1_group_version_for_discovery.py index 6655410603..cc7088f7ca 100644 --- a/kubernetes/client/models/v1_group_version_for_discovery.py +++ b/kubernetes/client/models/v1_group_version_for_discovery.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_grpc_action.py b/kubernetes/client/models/v1_grpc_action.py index c07bfc74bd..b0e1a19dda 100644 --- a/kubernetes/client/models/v1_grpc_action.py +++ b/kubernetes/client/models/v1_grpc_action.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index db11fe3ef1..e9308fe6e0 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 930d7be0c6..ecce51e324 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index 12943928f8..68e1e084dc 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index 5e8d8dda71..f6e6f511eb 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_host_alias.py b/kubernetes/client/models/v1_host_alias.py index 60dfd3dbe1..04fa61e268 100644 --- a/kubernetes/client/models/v1_host_alias.py +++ b/kubernetes/client/models/v1_host_alias.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_host_ip.py b/kubernetes/client/models/v1_host_ip.py index 4adaa0713c..2d0b5ac481 100644 --- a/kubernetes/client/models/v1_host_ip.py +++ b/kubernetes/client/models/v1_host_ip.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py index cbfdaeaeaf..ea528a0c41 100644 --- a/kubernetes/client/models/v1_host_path_volume_source.py +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index 984f809b66..8f14c4798e 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -192,7 +190,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index 5d08875a0e..fdd9726962 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_http_ingress_path.py b/kubernetes/client/models/v1_http_ingress_path.py index 48aff91cb3..fa7079507d 100644 --- a/kubernetes/client/models/v1_http_ingress_path.py +++ b/kubernetes/client/models/v1_http_ingress_path.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_http_ingress_rule_value.py b/kubernetes/client/models/v1_http_ingress_rule_value.py index 600de038a7..2fc9dec7d9 100644 --- a/kubernetes/client/models/v1_http_ingress_rule_value.py +++ b/kubernetes/client/models/v1_http_ingress_rule_value.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_image_volume_source.py b/kubernetes/client/models/v1_image_volume_source.py index cf74b4dbf4..674e967dfa 100644 --- a/kubernetes/client/models/v1_image_volume_source.py +++ b/kubernetes/client/models/v1_image_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress.py b/kubernetes/client/models/v1_ingress.py index 9757d5594d..def29add5a 100644 --- a/kubernetes/client/models/v1_ingress.py +++ b/kubernetes/client/models/v1_ingress.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_backend.py b/kubernetes/client/models/v1_ingress_backend.py index f14a824300..fa9b9c7ba8 100644 --- a/kubernetes/client/models/v1_ingress_backend.py +++ b/kubernetes/client/models/v1_ingress_backend.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -103,7 +101,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_class.py b/kubernetes/client/models/v1_ingress_class.py index eb7dcf1eaf..ce67a6fa10 100644 --- a/kubernetes/client/models/v1_ingress_class.py +++ b/kubernetes/client/models/v1_ingress_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_class_list.py b/kubernetes/client/models/v1_ingress_class_list.py index 04dd1a6550..7b85aa458c 100644 --- a/kubernetes/client/models/v1_ingress_class_list.py +++ b/kubernetes/client/models/v1_ingress_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_class_parameters_reference.py b/kubernetes/client/models/v1_ingress_class_parameters_reference.py index b9c4a1dbcc..a2be61a04b 100644 --- a/kubernetes/client/models/v1_ingress_class_parameters_reference.py +++ b/kubernetes/client/models/v1_ingress_class_parameters_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_class_spec.py b/kubernetes/client/models/v1_ingress_class_spec.py index f7838c2836..eb2400a562 100644 --- a/kubernetes/client/models/v1_ingress_class_spec.py +++ b/kubernetes/client/models/v1_ingress_class_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_list.py b/kubernetes/client/models/v1_ingress_list.py index 5133b70446..2790231965 100644 --- a/kubernetes/client/models/v1_ingress_list.py +++ b/kubernetes/client/models/v1_ingress_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_load_balancer_ingress.py b/kubernetes/client/models/v1_ingress_load_balancer_ingress.py index 5f05a61f51..b795065923 100644 --- a/kubernetes/client/models/v1_ingress_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_ingress_load_balancer_ingress.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_load_balancer_status.py b/kubernetes/client/models/v1_ingress_load_balancer_status.py index 7b49940829..7776ea700e 100644 --- a/kubernetes/client/models/v1_ingress_load_balancer_status.py +++ b/kubernetes/client/models/v1_ingress_load_balancer_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_port_status.py b/kubernetes/client/models/v1_ingress_port_status.py index 12db9a1fbf..7f5a944f61 100644 --- a/kubernetes/client/models/v1_ingress_port_status.py +++ b/kubernetes/client/models/v1_ingress_port_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_rule.py b/kubernetes/client/models/v1_ingress_rule.py index a20385d497..5c6f4c4554 100644 --- a/kubernetes/client/models/v1_ingress_rule.py +++ b/kubernetes/client/models/v1_ingress_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_service_backend.py b/kubernetes/client/models/v1_ingress_service_backend.py index 070d2a925f..6b033c7fda 100644 --- a/kubernetes/client/models/v1_ingress_service_backend.py +++ b/kubernetes/client/models/v1_ingress_service_backend.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_spec.py b/kubernetes/client/models/v1_ingress_spec.py index 08b562accd..319ce0035a 100644 --- a/kubernetes/client/models/v1_ingress_spec.py +++ b/kubernetes/client/models/v1_ingress_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_status.py b/kubernetes/client/models/v1_ingress_status.py index 41c9871eee..fb6aba7e35 100644 --- a/kubernetes/client/models/v1_ingress_status.py +++ b/kubernetes/client/models/v1_ingress_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ingress_tls.py b/kubernetes/client/models/v1_ingress_tls.py index c09e23b5f9..197e8045f6 100644 --- a/kubernetes/client/models/v1_ingress_tls.py +++ b/kubernetes/client/models/v1_ingress_tls.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ip_address.py b/kubernetes/client/models/v1_ip_address.py index 5ca132fe7a..dcc14c28dc 100644 --- a/kubernetes/client/models/v1_ip_address.py +++ b/kubernetes/client/models/v1_ip_address.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ip_address_list.py b/kubernetes/client/models/v1_ip_address_list.py index 1226186303..4c0442e9c9 100644 --- a/kubernetes/client/models/v1_ip_address_list.py +++ b/kubernetes/client/models/v1_ip_address_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ip_address_spec.py b/kubernetes/client/models/v1_ip_address_spec.py index ad8ba6897a..d70e74aa27 100644 --- a/kubernetes/client/models/v1_ip_address_spec.py +++ b/kubernetes/client/models/v1_ip_address_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -78,7 +76,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_ip_block.py b/kubernetes/client/models/v1_ip_block.py index 64f3704359..914e1baac9 100644 --- a/kubernetes/client/models/v1_ip_block.py +++ b/kubernetes/client/models/v1_ip_block.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py index 6368c27f7d..f8cbe811a5 100644 --- a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -360,7 +358,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py index 7dc252fdfe..459526e1b9 100644 --- a/kubernetes/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -360,7 +358,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index 0f1251d53c..25a3afb96d 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index 135a2c5bd6..d245149b7f 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index 87976d1da0..f1277e6d55 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index 83ac0d0e48..a2af85cc98 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -492,7 +490,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index af72be46ab..01f9bf120b 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -357,7 +355,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_job_template_spec.py b/kubernetes/client/models/v1_job_template_spec.py index 3af1dcd790..00fee51024 100644 --- a/kubernetes/client/models/v1_job_template_spec.py +++ b/kubernetes/client/models/v1_job_template_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -103,7 +101,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_json_schema_props.py b/kubernetes/client/models/v1_json_schema_props.py index 20c0de1941..363e6c4651 100644 --- a/kubernetes/client/models/v1_json_schema_props.py +++ b/kubernetes/client/models/v1_json_schema_props.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -1221,7 +1219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py index 4274cc36fe..72a3878cd8 100644 --- a/kubernetes/client/models/v1_key_to_path.py +++ b/kubernetes/client/models/v1_key_to_path.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_label_selector.py b/kubernetes/client/models/v1_label_selector.py index 6c11880ae9..57529e0c49 100644 --- a/kubernetes/client/models/v1_label_selector.py +++ b/kubernetes/client/models/v1_label_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_label_selector_attributes.py b/kubernetes/client/models/v1_label_selector_attributes.py index 3fe7dde126..b1b0294326 100644 --- a/kubernetes/client/models/v1_label_selector_attributes.py +++ b/kubernetes/client/models/v1_label_selector_attributes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_label_selector_requirement.py b/kubernetes/client/models/v1_label_selector_requirement.py index de785a216d..ec1ee6b3a5 100644 --- a/kubernetes/client/models/v1_label_selector_requirement.py +++ b/kubernetes/client/models/v1_label_selector_requirement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_lease.py b/kubernetes/client/models/v1_lease.py index 1d8fd9316d..e8488e8446 100644 --- a/kubernetes/client/models/v1_lease.py +++ b/kubernetes/client/models/v1_lease.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_lease_list.py b/kubernetes/client/models/v1_lease_list.py index 2bcaebe757..ecd812ac86 100644 --- a/kubernetes/client/models/v1_lease_list.py +++ b/kubernetes/client/models/v1_lease_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_lease_spec.py b/kubernetes/client/models/v1_lease_spec.py index 7a2e3833d5..f74bc7d008 100644 --- a/kubernetes/client/models/v1_lease_spec.py +++ b/kubernetes/client/models/v1_lease_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -247,7 +245,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index ea099511f6..82246a8063 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_lifecycle_handler.py b/kubernetes/client/models/v1_lifecycle_handler.py index 5a099eb9fd..8b3db3521a 100644 --- a/kubernetes/client/models/v1_lifecycle_handler.py +++ b/kubernetes/client/models/v1_lifecycle_handler.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -155,7 +153,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index 15b43e074e..a795d98a0d 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index 2f49e63d2f..ff1a51db86 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -220,7 +218,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index 26073c46d4..0431ffe318 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index b0b3abf7f3..e7fc236722 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_limit_response.py b/kubernetes/client/models/v1_limit_response.py index 04c0965112..059dbaf2d4 100644 --- a/kubernetes/client/models/v1_limit_response.py +++ b/kubernetes/client/models/v1_limit_response.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_limited_priority_level_configuration.py b/kubernetes/client/models/v1_limited_priority_level_configuration.py index e68efef0ed..61e6a123ea 100644 --- a/kubernetes/client/models/v1_limited_priority_level_configuration.py +++ b/kubernetes/client/models/v1_limited_priority_level_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_linux_container_user.py b/kubernetes/client/models/v1_linux_container_user.py index efa421234c..dc0bfa7acf 100644 --- a/kubernetes/client/models/v1_linux_container_user.py +++ b/kubernetes/client/models/v1_linux_container_user.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_list_meta.py b/kubernetes/client/models/v1_list_meta.py index 3afeefa254..a0e40cf85b 100644 --- a/kubernetes/client/models/v1_list_meta.py +++ b/kubernetes/client/models/v1_list_meta.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index 6a36f98721..eb660a955d 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index 9987d0089a..592c0f2bd0 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index 961a4c7a9d..3f5d56e546 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_local_subject_access_review.py b/kubernetes/client/models/v1_local_subject_access_review.py index 99befc078c..5c1a6eaa1e 100644 --- a/kubernetes/client/models/v1_local_subject_access_review.py +++ b/kubernetes/client/models/v1_local_subject_access_review.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_local_volume_source.py b/kubernetes/client/models/v1_local_volume_source.py index 08a3d9b287..b4651bfd9d 100644 --- a/kubernetes/client/models/v1_local_volume_source.py +++ b/kubernetes/client/models/v1_local_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_managed_fields_entry.py b/kubernetes/client/models/v1_managed_fields_entry.py index f04e5258b3..d367ccb13e 100644 --- a/kubernetes/client/models/v1_managed_fields_entry.py +++ b/kubernetes/client/models/v1_managed_fields_entry.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -247,7 +245,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_match_condition.py b/kubernetes/client/models/v1_match_condition.py index 4e1d8b73e1..34f29929a8 100644 --- a/kubernetes/client/models/v1_match_condition.py +++ b/kubernetes/client/models/v1_match_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_match_resources.py b/kubernetes/client/models/v1_match_resources.py index bd04f8a16f..e5044cd0e5 100644 --- a/kubernetes/client/models/v1_match_resources.py +++ b/kubernetes/client/models/v1_match_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -187,7 +185,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_modify_volume_status.py b/kubernetes/client/models/v1_modify_volume_status.py index 03b426b8fe..90630f8477 100644 --- a/kubernetes/client/models/v1_modify_volume_status.py +++ b/kubernetes/client/models/v1_modify_volume_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_mutating_webhook.py b/kubernetes/client/models/v1_mutating_webhook.py index 39bb864f2d..6cca214e05 100644 --- a/kubernetes/client/models/v1_mutating_webhook.py +++ b/kubernetes/client/models/v1_mutating_webhook.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -385,7 +383,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_mutating_webhook_configuration.py b/kubernetes/client/models/v1_mutating_webhook_configuration.py index dcfb60dd21..480fde4f5c 100644 --- a/kubernetes/client/models/v1_mutating_webhook_configuration.py +++ b/kubernetes/client/models/v1_mutating_webhook_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_mutating_webhook_configuration_list.py b/kubernetes/client/models/v1_mutating_webhook_configuration_list.py index b7b02ea798..0ca56a6c00 100644 --- a/kubernetes/client/models/v1_mutating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1_mutating_webhook_configuration_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_named_rule_with_operations.py b/kubernetes/client/models/v1_named_rule_with_operations.py index 681b2567a1..932f114f4b 100644 --- a/kubernetes/client/models/v1_named_rule_with_operations.py +++ b/kubernetes/client/models/v1_named_rule_with_operations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index 19f0391c89..2ba1aac41a 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_namespace_condition.py b/kubernetes/client/models/v1_namespace_condition.py index 16bff6963f..e3f4574523 100644 --- a/kubernetes/client/models/v1_namespace_condition.py +++ b/kubernetes/client/models/v1_namespace_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index a461666a13..32b74516b8 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index aee6bf87dc..f6220f656f 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index 0cd6741bf2..b5b0b9917f 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_device_data.py b/kubernetes/client/models/v1_network_device_data.py index 65738c57a6..f09847c39e 100644 --- a/kubernetes/client/models/v1_network_device_data.py +++ b/kubernetes/client/models/v1_network_device_data.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy.py b/kubernetes/client/models/v1_network_policy.py index 9f82593829..93e6c6badd 100644 --- a/kubernetes/client/models/v1_network_policy.py +++ b/kubernetes/client/models/v1_network_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy_egress_rule.py b/kubernetes/client/models/v1_network_policy_egress_rule.py index 09ccfeaa3e..3b9a6f127b 100644 --- a/kubernetes/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1_network_policy_egress_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy_ingress_rule.py b/kubernetes/client/models/v1_network_policy_ingress_rule.py index 756ed636c6..dcccf2ebd4 100644 --- a/kubernetes/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1_network_policy_ingress_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy_list.py b/kubernetes/client/models/v1_network_policy_list.py index d82d00d564..e6d241c806 100644 --- a/kubernetes/client/models/v1_network_policy_list.py +++ b/kubernetes/client/models/v1_network_policy_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy_peer.py b/kubernetes/client/models/v1_network_policy_peer.py index 9ec9861480..15f9e4777f 100644 --- a/kubernetes/client/models/v1_network_policy_peer.py +++ b/kubernetes/client/models/v1_network_policy_peer.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -129,7 +127,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy_port.py b/kubernetes/client/models/v1_network_policy_port.py index 24261eeb82..2993c688a2 100644 --- a/kubernetes/client/models/v1_network_policy_port.py +++ b/kubernetes/client/models/v1_network_policy_port.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_network_policy_spec.py b/kubernetes/client/models/v1_network_policy_spec.py index bb98e26fb5..b9fcd3b854 100644 --- a/kubernetes/client/models/v1_network_policy_spec.py +++ b/kubernetes/client/models/v1_network_policy_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py index 2956f77116..29131ca776 100644 --- a/kubernetes/client/models/v1_nfs_volume_source.py +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index 9c45b75018..549e79b4a1 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index 8a23135ac6..14a9133e54 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_affinity.py b/kubernetes/client/models/v1_node_affinity.py index 9e622b28b3..cc5f302028 100644 --- a/kubernetes/client/models/v1_node_affinity.py +++ b/kubernetes/client/models/v1_node_affinity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index f4314a0ea1..9b12056042 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_config_source.py b/kubernetes/client/models/v1_node_config_source.py index 32f063305a..dc37b8b26e 100644 --- a/kubernetes/client/models/v1_node_config_source.py +++ b/kubernetes/client/models/v1_node_config_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_config_status.py b/kubernetes/client/models/v1_node_config_status.py index e9c56985d5..8d14cc53ed 100644 --- a/kubernetes/client/models/v1_node_config_status.py +++ b/kubernetes/client/models/v1_node_config_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -157,7 +155,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index 01335d9c98..c8d5f7c19b 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_features.py b/kubernetes/client/models/v1_node_features.py index a585752e95..1cb687d34e 100644 --- a/kubernetes/client/models/v1_node_features.py +++ b/kubernetes/client/models/v1_node_features.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index 039295a0a0..fc795b564e 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_runtime_handler.py b/kubernetes/client/models/v1_node_runtime_handler.py index 2a27296bdd..dd8acd5786 100644 --- a/kubernetes/client/models/v1_node_runtime_handler.py +++ b/kubernetes/client/models/v1_node_runtime_handler.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_runtime_handler_features.py b/kubernetes/client/models/v1_node_runtime_handler_features.py index 9c100225bd..31ef773791 100644 --- a/kubernetes/client/models/v1_node_runtime_handler_features.py +++ b/kubernetes/client/models/v1_node_runtime_handler_features.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_selector.py b/kubernetes/client/models/v1_node_selector.py index add232fcfd..22017a554f 100644 --- a/kubernetes/client/models/v1_node_selector.py +++ b/kubernetes/client/models/v1_node_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_selector_requirement.py b/kubernetes/client/models/v1_node_selector_requirement.py index 6912b56538..ed66dec252 100644 --- a/kubernetes/client/models/v1_node_selector_requirement.py +++ b/kubernetes/client/models/v1_node_selector_requirement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_selector_term.py b/kubernetes/client/models/v1_node_selector_term.py index c0c48ca81c..4065b1e23d 100644 --- a/kubernetes/client/models/v1_node_selector_term.py +++ b/kubernetes/client/models/v1_node_selector_term.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index b825df65a1..d92d59b102 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -245,7 +243,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index 6a6813ff6b..dff33cd0a4 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -407,7 +405,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_swap_status.py b/kubernetes/client/models/v1_node_swap_status.py index dbfd9cbafd..726c4ad67a 100644 --- a/kubernetes/client/models/v1_node_swap_status.py +++ b/kubernetes/client/models/v1_node_swap_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index b45381fcb0..620ca60632 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -367,7 +365,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_non_resource_attributes.py b/kubernetes/client/models/v1_non_resource_attributes.py index 19de5c1490..547bddb0cc 100644 --- a/kubernetes/client/models/v1_non_resource_attributes.py +++ b/kubernetes/client/models/v1_non_resource_attributes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_non_resource_policy_rule.py b/kubernetes/client/models/v1_non_resource_policy_rule.py index 1281676153..6b6b230526 100644 --- a/kubernetes/client/models/v1_non_resource_policy_rule.py +++ b/kubernetes/client/models/v1_non_resource_policy_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_non_resource_rule.py b/kubernetes/client/models/v1_non_resource_rule.py index 257d145485..a486bc40ce 100644 --- a/kubernetes/client/models/v1_non_resource_rule.py +++ b/kubernetes/client/models/v1_non_resource_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index 865a2852e9..131d1744a3 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index f511b4cc94..20f393bbfc 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -471,7 +469,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index 758b2c9876..43a22c0c31 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -247,7 +245,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_opaque_device_configuration.py b/kubernetes/client/models/v1_opaque_device_configuration.py index 0f7cd4565b..f17c7d4a67 100644 --- a/kubernetes/client/models/v1_opaque_device_configuration.py +++ b/kubernetes/client/models/v1_opaque_device_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_overhead.py b/kubernetes/client/models/v1_overhead.py index 1357b50330..814b920d38 100644 --- a/kubernetes/client/models/v1_overhead.py +++ b/kubernetes/client/models/v1_overhead.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index 95cd2e51ac..f884bae1a7 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -223,7 +221,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_param_kind.py b/kubernetes/client/models/v1_param_kind.py index 5a89455279..4f2d3c5d6c 100644 --- a/kubernetes/client/models/v1_param_kind.py +++ b/kubernetes/client/models/v1_param_kind.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_param_ref.py b/kubernetes/client/models/v1_param_ref.py index 36ebe5f735..37f8452d4b 100644 --- a/kubernetes/client/models/v1_param_ref.py +++ b/kubernetes/client/models/v1_param_ref.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_parent_reference.py b/kubernetes/client/models/v1_parent_reference.py index 48314ea486..20a9008244 100644 --- a/kubernetes/client/models/v1_parent_reference.py +++ b/kubernetes/client/models/v1_parent_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index 26330c8025..7c857b630e 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index b6f5e2aef9..17413d6261 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim_condition.py b/kubernetes/client/models/v1_persistent_volume_claim_condition.py index faf57eace5..d48b45f6a7 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index 3b04f6d6c4..5bd47b7fc8 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index e87f635010..e45be61408 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -295,7 +293,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index bf9fae8438..52ecaf7946 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -273,7 +271,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim_template.py b/kubernetes/client/models/v1_persistent_volume_claim_template.py index d17a7a349b..0886225716 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_template.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_template.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -104,7 +102,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py index 5ba94fa7eb..796746df86 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index 9685f56746..cf17344a1c 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index c65968820b..3603a2b8bb 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -871,7 +869,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index 3fc04d5489..23b12bbede 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py index ad7f64a991..92132ffabf 100644 --- a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index 01b75cad0d..36e053d95a 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_affinity.py b/kubernetes/client/models/v1_pod_affinity.py index 5f523eeb09..bd4ffe60a5 100644 --- a/kubernetes/client/models/v1_pod_affinity.py +++ b/kubernetes/client/models/v1_pod_affinity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_affinity_term.py b/kubernetes/client/models/v1_pod_affinity_term.py index 07bc0c4108..bca78b0d29 100644 --- a/kubernetes/client/models/v1_pod_affinity_term.py +++ b/kubernetes/client/models/v1_pod_affinity_term.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -216,7 +214,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_anti_affinity.py b/kubernetes/client/models/v1_pod_anti_affinity.py index b53b9ceeae..c05f4a6ea5 100644 --- a/kubernetes/client/models/v1_pod_anti_affinity.py +++ b/kubernetes/client/models/v1_pod_anti_affinity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_certificate_projection.py b/kubernetes/client/models/v1_pod_certificate_projection.py index 6769611a61..ba67d9743e 100644 --- a/kubernetes/client/models/v1_pod_certificate_projection.py +++ b/kubernetes/client/models/v1_pod_certificate_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index a20ef66ba3..0de912711f 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -249,7 +247,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_disruption_budget.py b/kubernetes/client/models/v1_pod_disruption_budget.py index b1ac0f427d..9a034834eb 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1_pod_disruption_budget.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_disruption_budget_list.py b/kubernetes/client/models/v1_pod_disruption_budget_list.py index 3f41186eea..b9eb21cb4b 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1_pod_disruption_budget_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1_pod_disruption_budget_spec.py index d320020f4e..fe5d6037ac 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1_pod_disruption_budget_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_disruption_budget_status.py b/kubernetes/client/models/v1_pod_disruption_budget_status.py index 87d83a3fa9..997a43c325 100644 --- a/kubernetes/client/models/v1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1_pod_disruption_budget_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -251,7 +249,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_dns_config.py b/kubernetes/client/models/v1_pod_dns_config.py index 9b9d78c37c..0cf4772d2c 100644 --- a/kubernetes/client/models/v1_pod_dns_config.py +++ b/kubernetes/client/models/v1_pod_dns_config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_dns_config_option.py b/kubernetes/client/models/v1_pod_dns_config_option.py index 3df72a1b85..1eed968584 100644 --- a/kubernetes/client/models/v1_pod_dns_config_option.py +++ b/kubernetes/client/models/v1_pod_dns_config_option.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_extended_resource_claim_status.py b/kubernetes/client/models/v1_pod_extended_resource_claim_status.py index 6bddcd7a1a..e0fdef378a 100644 --- a/kubernetes/client/models/v1_pod_extended_resource_claim_status.py +++ b/kubernetes/client/models/v1_pod_extended_resource_claim_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_failure_policy.py b/kubernetes/client/models/v1_pod_failure_policy.py index 1ea0353cdd..7ea6d26530 100644 --- a/kubernetes/client/models/v1_pod_failure_policy.py +++ b/kubernetes/client/models/v1_pod_failure_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py b/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py index 428ce095ba..18eaeee2ac 100644 --- a/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py +++ b/kubernetes/client/models/v1_pod_failure_policy_on_exit_codes_requirement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py b/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py index aea817918a..7994f2589b 100644 --- a/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py +++ b/kubernetes/client/models/v1_pod_failure_policy_on_pod_conditions_pattern.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_failure_policy_rule.py b/kubernetes/client/models/v1_pod_failure_policy_rule.py index 8a99a55b53..91cfe58258 100644 --- a/kubernetes/client/models/v1_pod_failure_policy_rule.py +++ b/kubernetes/client/models/v1_pod_failure_policy_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_ip.py b/kubernetes/client/models/v1_pod_ip.py index 699582fe18..87ca167be1 100644 --- a/kubernetes/client/models/v1_pod_ip.py +++ b/kubernetes/client/models/v1_pod_ip.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index d5784f4b0a..f7133bd586 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_os.py b/kubernetes/client/models/v1_pod_os.py index aefe6cecb6..54a0b94885 100644 --- a/kubernetes/client/models/v1_pod_os.py +++ b/kubernetes/client/models/v1_pod_os.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_readiness_gate.py b/kubernetes/client/models/v1_pod_readiness_gate.py index 7346d676c9..a88f0a3ba2 100644 --- a/kubernetes/client/models/v1_pod_readiness_gate.py +++ b/kubernetes/client/models/v1_pod_readiness_gate.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_resource_claim.py b/kubernetes/client/models/v1_pod_resource_claim.py index 5514a128ca..7ff502bd95 100644 --- a/kubernetes/client/models/v1_pod_resource_claim.py +++ b/kubernetes/client/models/v1_pod_resource_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_resource_claim_status.py b/kubernetes/client/models/v1_pod_resource_claim_status.py index 71bff73bcf..7d43eec89b 100644 --- a/kubernetes/client/models/v1_pod_resource_claim_status.py +++ b/kubernetes/client/models/v1_pod_resource_claim_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_scheduling_gate.py b/kubernetes/client/models/v1_pod_scheduling_gate.py index e8802ec8fb..e4c9104888 100644 --- a/kubernetes/client/models/v1_pod_scheduling_gate.py +++ b/kubernetes/client/models/v1_pod_scheduling_gate.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index 0921b03227..37cad259fe 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -407,7 +405,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index 5ff6f7fe37..d38680563a 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -1190,7 +1188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index 1d9bf5aeb3..38e02690c0 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -553,7 +551,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index 5a79513c8c..34a8dd9ed0 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index 1c9c22f900..226dc21135 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index 548ea6240e..ef7a03d17d 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -103,7 +101,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_policy_rule.py b/kubernetes/client/models/v1_policy_rule.py index 0cdcce88d5..b5cd9db468 100644 --- a/kubernetes/client/models/v1_policy_rule.py +++ b/kubernetes/client/models/v1_policy_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -192,7 +190,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_policy_rules_with_subjects.py b/kubernetes/client/models/v1_policy_rules_with_subjects.py index 74a68401ae..b14deab5f6 100644 --- a/kubernetes/client/models/v1_policy_rules_with_subjects.py +++ b/kubernetes/client/models/v1_policy_rules_with_subjects.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_port_status.py b/kubernetes/client/models/v1_port_status.py index 5888f44fe6..9a668984de 100644 --- a/kubernetes/client/models/v1_port_status.py +++ b/kubernetes/client/models/v1_port_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_portworx_volume_source.py b/kubernetes/client/models/v1_portworx_volume_source.py index 3e19d142d5..3d9b096a32 100644 --- a/kubernetes/client/models/v1_portworx_volume_source.py +++ b/kubernetes/client/models/v1_portworx_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index 52a414e308..5afe1fbf0b 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_preferred_scheduling_term.py b/kubernetes/client/models/v1_preferred_scheduling_term.py index 8bf32d6316..73acb7b258 100644 --- a/kubernetes/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes/client/models/v1_preferred_scheduling_term.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_class.py b/kubernetes/client/models/v1_priority_class.py index 059bdcb4d5..697da91426 100644 --- a/kubernetes/client/models/v1_priority_class.py +++ b/kubernetes/client/models/v1_priority_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -246,7 +244,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_class_list.py b/kubernetes/client/models/v1_priority_class_list.py index daee5d4df4..05ecaba377 100644 --- a/kubernetes/client/models/v1_priority_class_list.py +++ b/kubernetes/client/models/v1_priority_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_level_configuration.py b/kubernetes/client/models/v1_priority_level_configuration.py index 3d9d62b3db..e6bb90ffdf 100644 --- a/kubernetes/client/models/v1_priority_level_configuration.py +++ b/kubernetes/client/models/v1_priority_level_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_level_configuration_condition.py b/kubernetes/client/models/v1_priority_level_configuration_condition.py index 6c62762548..435657cab9 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_condition.py +++ b/kubernetes/client/models/v1_priority_level_configuration_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_level_configuration_list.py b/kubernetes/client/models/v1_priority_level_configuration_list.py index 3a59a82d69..4c1b392f8c 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_list.py +++ b/kubernetes/client/models/v1_priority_level_configuration_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_level_configuration_reference.py b/kubernetes/client/models/v1_priority_level_configuration_reference.py index aba241cb1b..1e42383d3e 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_reference.py +++ b/kubernetes/client/models/v1_priority_level_configuration_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_level_configuration_spec.py b/kubernetes/client/models/v1_priority_level_configuration_spec.py index bfe8f9dd25..9cc36c72f4 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_spec.py +++ b/kubernetes/client/models/v1_priority_level_configuration_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -132,7 +130,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_priority_level_configuration_status.py b/kubernetes/client/models/v1_priority_level_configuration_status.py index 2aa3598b7b..b0636d9357 100644 --- a/kubernetes/client/models/v1_priority_level_configuration_status.py +++ b/kubernetes/client/models/v1_priority_level_configuration_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index 7bfddc2642..60bc7fdb98 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -323,7 +321,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index 424ca2b0ae..ac1fb938c2 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_queuing_configuration.py b/kubernetes/client/models/v1_queuing_configuration.py index 784a9b6c11..213f37dff5 100644 --- a/kubernetes/client/models/v1_queuing_configuration.py +++ b/kubernetes/client/models/v1_queuing_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py index 9372359ee0..c0c78b79bc 100644 --- a/kubernetes/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -221,7 +219,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_rbd_persistent_volume_source.py b/kubernetes/client/models/v1_rbd_persistent_volume_source.py index 727da2a932..4eb7c9ddee 100644 --- a/kubernetes/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes/client/models/v1_rbd_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -275,7 +273,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py index 31366b2b62..9605913301 100644 --- a/kubernetes/client/models/v1_rbd_volume_source.py +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -275,7 +273,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replica_set.py b/kubernetes/client/models/v1_replica_set.py index e2082d810a..9bca3a21a7 100644 --- a/kubernetes/client/models/v1_replica_set.py +++ b/kubernetes/client/models/v1_replica_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replica_set_condition.py b/kubernetes/client/models/v1_replica_set_condition.py index 3314048d11..5629ad997e 100644 --- a/kubernetes/client/models/v1_replica_set_condition.py +++ b/kubernetes/client/models/v1_replica_set_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replica_set_list.py b/kubernetes/client/models/v1_replica_set_list.py index feb0ab1260..49898329e8 100644 --- a/kubernetes/client/models/v1_replica_set_list.py +++ b/kubernetes/client/models/v1_replica_set_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replica_set_spec.py b/kubernetes/client/models/v1_replica_set_spec.py index 03900d71ec..4598084a26 100644 --- a/kubernetes/client/models/v1_replica_set_spec.py +++ b/kubernetes/client/models/v1_replica_set_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replica_set_status.py b/kubernetes/client/models/v1_replica_set_status.py index 667fb745c0..56703ff509 100644 --- a/kubernetes/client/models/v1_replica_set_status.py +++ b/kubernetes/client/models/v1_replica_set_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -248,7 +246,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index 6a1f376fec..e64411f2d7 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index dc80246440..c5fc92f0d5 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index 5d777a0d3d..23767c816e 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index bc1547b485..eb7a0df7d1 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index bf13a4e9d5..6d6fbe61e0 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -220,7 +218,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_attributes.py b/kubernetes/client/models/v1_resource_attributes.py index bf8823dbbc..bdc12b0021 100644 --- a/kubernetes/client/models/v1_resource_attributes.py +++ b/kubernetes/client/models/v1_resource_attributes.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -299,7 +297,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_consumer_reference.py b/kubernetes/client/models/v1_resource_claim_consumer_reference.py index 50af1ce630..d054098e9c 100644 --- a/kubernetes/client/models/v1_resource_claim_consumer_reference.py +++ b/kubernetes/client/models/v1_resource_claim_consumer_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -166,7 +164,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_list.py b/kubernetes/client/models/v1_resource_claim_list.py index d075edcad0..27fa582aa0 100644 --- a/kubernetes/client/models/v1_resource_claim_list.py +++ b/kubernetes/client/models/v1_resource_claim_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_spec.py b/kubernetes/client/models/v1_resource_claim_spec.py index 97f5e3b79f..5a14dd0232 100644 --- a/kubernetes/client/models/v1_resource_claim_spec.py +++ b/kubernetes/client/models/v1_resource_claim_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_status.py b/kubernetes/client/models/v1_resource_claim_status.py index e9d03b0880..724ffabbcd 100644 --- a/kubernetes/client/models/v1_resource_claim_status.py +++ b/kubernetes/client/models/v1_resource_claim_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_template.py b/kubernetes/client/models/v1_resource_claim_template.py index e29870c8ea..0eec69bfd8 100644 --- a/kubernetes/client/models/v1_resource_claim_template.py +++ b/kubernetes/client/models/v1_resource_claim_template.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_template_list.py b/kubernetes/client/models/v1_resource_claim_template_list.py index 25d38b1f13..1ad4039133 100644 --- a/kubernetes/client/models/v1_resource_claim_template_list.py +++ b/kubernetes/client/models/v1_resource_claim_template_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_claim_template_spec.py b/kubernetes/client/models/v1_resource_claim_template_spec.py index 9c6ca51e5d..d6826f25ec 100644 --- a/kubernetes/client/models/v1_resource_claim_template_spec.py +++ b/kubernetes/client/models/v1_resource_claim_template_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -104,7 +102,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index c314315652..9bb7c5b38b 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_health.py b/kubernetes/client/models/v1_resource_health.py index 59da068cf2..1c48b390c9 100644 --- a/kubernetes/client/models/v1_resource_health.py +++ b/kubernetes/client/models/v1_resource_health.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_policy_rule.py b/kubernetes/client/models/v1_resource_policy_rule.py index 9606dfaa80..ec843d670c 100644 --- a/kubernetes/client/models/v1_resource_policy_rule.py +++ b/kubernetes/client/models/v1_resource_policy_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -194,7 +192,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_pool.py b/kubernetes/client/models/v1_resource_pool.py index 2671b5d0d4..c90f5b2c28 100644 --- a/kubernetes/client/models/v1_resource_pool.py +++ b/kubernetes/client/models/v1_resource_pool.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -138,7 +136,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index fd4e07998b..4f6914e5c0 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index fb5f263872..a58fa618a5 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index a343b49d1c..bf572eee9e 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index 35716e00b1..c427bdd6a8 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index 5ed40e94b3..7818bc84e7 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_rule.py b/kubernetes/client/models/v1_resource_rule.py index ac8d148d84..f1cac3f0a2 100644 --- a/kubernetes/client/models/v1_resource_rule.py +++ b/kubernetes/client/models/v1_resource_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -164,7 +162,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_slice.py b/kubernetes/client/models/v1_resource_slice.py index 2c20c97b35..24cac441fb 100644 --- a/kubernetes/client/models/v1_resource_slice.py +++ b/kubernetes/client/models/v1_resource_slice.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_slice_list.py b/kubernetes/client/models/v1_resource_slice_list.py index 7897889d32..c13f92028f 100644 --- a/kubernetes/client/models/v1_resource_slice_list.py +++ b/kubernetes/client/models/v1_resource_slice_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_slice_spec.py b/kubernetes/client/models/v1_resource_slice_spec.py index 256dd786ce..f930ded874 100644 --- a/kubernetes/client/models/v1_resource_slice_spec.py +++ b/kubernetes/client/models/v1_resource_slice_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -273,7 +271,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_resource_status.py b/kubernetes/client/models/v1_resource_status.py index adc9f1df3f..a7ee4ddfba 100644 --- a/kubernetes/client/models/v1_resource_status.py +++ b/kubernetes/client/models/v1_resource_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_role.py b/kubernetes/client/models/v1_role.py index ad57e76960..f8bf8b6084 100644 --- a/kubernetes/client/models/v1_role.py +++ b/kubernetes/client/models/v1_role.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_role_binding.py b/kubernetes/client/models/v1_role_binding.py index 1168b46b6a..da63690ec6 100644 --- a/kubernetes/client/models/v1_role_binding.py +++ b/kubernetes/client/models/v1_role_binding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -188,7 +186,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_role_binding_list.py b/kubernetes/client/models/v1_role_binding_list.py index 74e7bdc3aa..f06ec54ed2 100644 --- a/kubernetes/client/models/v1_role_binding_list.py +++ b/kubernetes/client/models/v1_role_binding_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_role_list.py b/kubernetes/client/models/v1_role_list.py index d21796cf3d..983a05c2a7 100644 --- a/kubernetes/client/models/v1_role_list.py +++ b/kubernetes/client/models/v1_role_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_role_ref.py b/kubernetes/client/models/v1_role_ref.py index f2f53838a1..7829b7b30d 100644 --- a/kubernetes/client/models/v1_role_ref.py +++ b/kubernetes/client/models/v1_role_ref.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -138,7 +136,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_rolling_update_daemon_set.py b/kubernetes/client/models/v1_rolling_update_daemon_set.py index d51f3ce2e5..d0b3031c0f 100644 --- a/kubernetes/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1_rolling_update_daemon_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_rolling_update_deployment.py b/kubernetes/client/models/v1_rolling_update_deployment.py index 2e32a5bfbf..0f7a693dff 100644 --- a/kubernetes/client/models/v1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1_rolling_update_deployment.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py index 40912352eb..5477ed9f63 100644 --- a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_rule_with_operations.py b/kubernetes/client/models/v1_rule_with_operations.py index 79bd885a6e..4662459d74 100644 --- a/kubernetes/client/models/v1_rule_with_operations.py +++ b/kubernetes/client/models/v1_rule_with_operations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_runtime_class.py b/kubernetes/client/models/v1_runtime_class.py index 8d1797e7c6..9fee67d401 100644 --- a/kubernetes/client/models/v1_runtime_class.py +++ b/kubernetes/client/models/v1_runtime_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -214,7 +212,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_runtime_class_list.py b/kubernetes/client/models/v1_runtime_class_list.py index dceb822bfd..8f3626b5d6 100644 --- a/kubernetes/client/models/v1_runtime_class_list.py +++ b/kubernetes/client/models/v1_runtime_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index bd71436d06..13b1821159 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py index 9b5b39af86..ef2166c06f 100644 --- a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -332,7 +330,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scale_io_volume_source.py b/kubernetes/client/models/v1_scale_io_volume_source.py index 3211b87a48..737db7d324 100644 --- a/kubernetes/client/models/v1_scale_io_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -332,7 +330,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index e36629ab62..ee2641ae9a 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index 2797ffd982..1e46eae35d 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scheduling.py b/kubernetes/client/models/v1_scheduling.py index 7b18876d3b..67aa02a26f 100644 --- a/kubernetes/client/models/v1_scheduling.py +++ b/kubernetes/client/models/v1_scheduling.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scope_selector.py b/kubernetes/client/models/v1_scope_selector.py index 340ee11e84..cf5efa82b4 100644 --- a/kubernetes/client/models/v1_scope_selector.py +++ b/kubernetes/client/models/v1_scope_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py index 051be53ccc..c57f509b23 100644 --- a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py +++ b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index 50aac0aa74..5bf7757804 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_seccomp_profile.py b/kubernetes/client/models/v1_seccomp_profile.py index 22e2bd2fed..9610846b73 100644 --- a/kubernetes/client/models/v1_seccomp_profile.py +++ b/kubernetes/client/models/v1_seccomp_profile.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index 4b0d6d31c0..b80e842913 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -245,7 +243,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret_env_source.py b/kubernetes/client/models/v1_secret_env_source.py index 40a963bf28..05d08e1e04 100644 --- a/kubernetes/client/models/v1_secret_env_source.py +++ b/kubernetes/client/models/v1_secret_env_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index 846ddb3b0c..d517e0d7b4 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index b2bf957828..3a9b10e09a 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret_projection.py b/kubernetes/client/models/v1_secret_projection.py index af8055c206..0aa3886d72 100644 --- a/kubernetes/client/models/v1_secret_projection.py +++ b/kubernetes/client/models/v1_secret_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret_reference.py b/kubernetes/client/models/v1_secret_reference.py index 2791a08fd6..61caf2b765 100644 --- a/kubernetes/client/models/v1_secret_reference.py +++ b/kubernetes/client/models/v1_secret_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py index 3b170502e9..42b72380b8 100644 --- a/kubernetes/client/models/v1_secret_volume_source.py +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index 32399b55be..e925059644 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -377,7 +375,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_selectable_field.py b/kubernetes/client/models/v1_selectable_field.py index cbbf6194e4..51ada8f3ac 100644 --- a/kubernetes/client/models/v1_selectable_field.py +++ b/kubernetes/client/models/v1_selectable_field.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_self_subject_access_review.py b/kubernetes/client/models/v1_self_subject_access_review.py index fc4bfc04dd..52b19100ca 100644 --- a/kubernetes/client/models/v1_self_subject_access_review.py +++ b/kubernetes/client/models/v1_self_subject_access_review.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_self_subject_access_review_spec.py b/kubernetes/client/models/v1_self_subject_access_review_spec.py index 5f6bcd36d3..96bed059cf 100644 --- a/kubernetes/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_access_review_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -103,7 +101,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_self_subject_review.py b/kubernetes/client/models/v1_self_subject_review.py index 638eeb6f27..178b8b9888 100644 --- a/kubernetes/client/models/v1_self_subject_review.py +++ b/kubernetes/client/models/v1_self_subject_review.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_self_subject_review_status.py b/kubernetes/client/models/v1_self_subject_review_status.py index 370ae09b56..f430925e58 100644 --- a/kubernetes/client/models/v1_self_subject_review_status.py +++ b/kubernetes/client/models/v1_self_subject_review_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_self_subject_rules_review.py b/kubernetes/client/models/v1_self_subject_rules_review.py index f601a2eece..251139d43a 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1_self_subject_rules_review.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1_self_subject_rules_review_spec.py index a972f6e772..5edfc35d62 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_rules_review_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_server_address_by_client_cidr.py b/kubernetes/client/models/v1_server_address_by_client_cidr.py index ed21b03e71..95511625f6 100644 --- a/kubernetes/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes/client/models/v1_server_address_by_client_cidr.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 9af150a8ef..7517830486 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 7b6077ff41..099dcf7876 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -217,7 +215,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index 69de3200a9..0bbc6d0530 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_account_subject.py b/kubernetes/client/models/v1_service_account_subject.py index 28797e59cd..94fa85de10 100644 --- a/kubernetes/client/models/v1_service_account_subject.py +++ b/kubernetes/client/models/v1_service_account_subject.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_account_token_projection.py b/kubernetes/client/models/v1_service_account_token_projection.py index c8e02cb5b9..9211234d6d 100644 --- a/kubernetes/client/models/v1_service_account_token_projection.py +++ b/kubernetes/client/models/v1_service_account_token_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_backend_port.py b/kubernetes/client/models/v1_service_backend_port.py index 81225fc72d..c09d44da2b 100644 --- a/kubernetes/client/models/v1_service_backend_port.py +++ b/kubernetes/client/models/v1_service_backend_port.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_cidr.py b/kubernetes/client/models/v1_service_cidr.py index 705bddcf80..0d7cd80a89 100644 --- a/kubernetes/client/models/v1_service_cidr.py +++ b/kubernetes/client/models/v1_service_cidr.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_cidr_list.py b/kubernetes/client/models/v1_service_cidr_list.py index bfac6d915a..208b7d56e8 100644 --- a/kubernetes/client/models/v1_service_cidr_list.py +++ b/kubernetes/client/models/v1_service_cidr_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_cidr_spec.py b/kubernetes/client/models/v1_service_cidr_spec.py index fb46d4ad95..aaaf59ed20 100644 --- a/kubernetes/client/models/v1_service_cidr_spec.py +++ b/kubernetes/client/models/v1_service_cidr_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_cidr_status.py b/kubernetes/client/models/v1_service_cidr_status.py index 2c3897a368..4775840bf3 100644 --- a/kubernetes/client/models/v1_service_cidr_status.py +++ b/kubernetes/client/models/v1_service_cidr_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index a405240016..a2ae0edaa6 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index ed913b0b76..349cc34cb9 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -220,7 +218,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index 85d7a906c8..c741a0e493 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -609,7 +607,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index 46cb9fd4ec..632b2af0a1 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_session_affinity_config.py b/kubernetes/client/models/v1_session_affinity_config.py index cc1775d00e..7baedcb997 100644 --- a/kubernetes/client/models/v1_session_affinity_config.py +++ b/kubernetes/client/models/v1_session_affinity_config.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_sleep_action.py b/kubernetes/client/models/v1_sleep_action.py index dd0707233c..f89c152b8f 100644 --- a/kubernetes/client/models/v1_sleep_action.py +++ b/kubernetes/client/models/v1_sleep_action.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set.py b/kubernetes/client/models/v1_stateful_set.py index e96f011ed0..5b868d468a 100644 --- a/kubernetes/client/models/v1_stateful_set.py +++ b/kubernetes/client/models/v1_stateful_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_condition.py b/kubernetes/client/models/v1_stateful_set_condition.py index 844cbc8cca..7dc2128c8c 100644 --- a/kubernetes/client/models/v1_stateful_set_condition.py +++ b/kubernetes/client/models/v1_stateful_set_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_list.py b/kubernetes/client/models/v1_stateful_set_list.py index 80c4f399f5..a429f0df9a 100644 --- a/kubernetes/client/models/v1_stateful_set_list.py +++ b/kubernetes/client/models/v1_stateful_set_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_ordinals.py b/kubernetes/client/models/v1_stateful_set_ordinals.py index 280214e370..e4bfdc32c4 100644 --- a/kubernetes/client/models/v1_stateful_set_ordinals.py +++ b/kubernetes/client/models/v1_stateful_set_ordinals.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py b/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py index fad9e60d82..c663135958 100644 --- a/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py +++ b/kubernetes/client/models/v1_stateful_set_persistent_volume_claim_retention_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_spec.py b/kubernetes/client/models/v1_stateful_set_spec.py index b968697048..e3d0859d44 100644 --- a/kubernetes/client/models/v1_stateful_set_spec.py +++ b/kubernetes/client/models/v1_stateful_set_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -351,7 +349,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_status.py b/kubernetes/client/models/v1_stateful_set_status.py index c9c2028a8b..96f5a2564a 100644 --- a/kubernetes/client/models/v1_stateful_set_status.py +++ b/kubernetes/client/models/v1_stateful_set_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -332,7 +330,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_stateful_set_update_strategy.py b/kubernetes/client/models/v1_stateful_set_update_strategy.py index 8752aaaf47..3f0f88659d 100644 --- a/kubernetes/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1_stateful_set_update_strategy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_status.py b/kubernetes/client/models/v1_status.py index 50a24333e8..4e098c4cff 100644 --- a/kubernetes/client/models/v1_status.py +++ b/kubernetes/client/models/v1_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -271,7 +269,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_status_cause.py b/kubernetes/client/models/v1_status_cause.py index eac017cbe2..723a8a8130 100644 --- a/kubernetes/client/models/v1_status_cause.py +++ b/kubernetes/client/models/v1_status_cause.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_status_details.py b/kubernetes/client/models/v1_status_details.py index 9e67d3bbcd..9788731498 100644 --- a/kubernetes/client/models/v1_status_details.py +++ b/kubernetes/client/models/v1_status_details.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_storage_class.py b/kubernetes/client/models/v1_storage_class.py index b0e26b7cef..92fa71129d 100644 --- a/kubernetes/client/models/v1_storage_class.py +++ b/kubernetes/client/models/v1_storage_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -330,7 +328,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_storage_class_list.py b/kubernetes/client/models/v1_storage_class_list.py index 3223c030f3..53f95eb47a 100644 --- a/kubernetes/client/models/v1_storage_class_list.py +++ b/kubernetes/client/models/v1_storage_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py index bf42194f53..f0d5eacf6c 100644 --- a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -189,7 +187,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_storage_os_volume_source.py b/kubernetes/client/models/v1_storage_os_volume_source.py index 6163052ba2..be93754a8e 100644 --- a/kubernetes/client/models/v1_storage_os_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -189,7 +187,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_subject_access_review.py b/kubernetes/client/models/v1_subject_access_review.py index 156f6aac45..232d61408c 100644 --- a/kubernetes/client/models/v1_subject_access_review.py +++ b/kubernetes/client/models/v1_subject_access_review.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_subject_access_review_spec.py b/kubernetes/client/models/v1_subject_access_review_spec.py index 188b39eef0..6a2ed820a8 100644 --- a/kubernetes/client/models/v1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_subject_access_review_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -215,7 +213,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_subject_access_review_status.py b/kubernetes/client/models/v1_subject_access_review_status.py index cbc4f0b40f..bf47f3ad2f 100644 --- a/kubernetes/client/models/v1_subject_access_review_status.py +++ b/kubernetes/client/models/v1_subject_access_review_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -164,7 +162,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_subject_rules_review_status.py b/kubernetes/client/models/v1_subject_rules_review_status.py index a1650e8a95..88100d546c 100644 --- a/kubernetes/client/models/v1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1_subject_rules_review_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -166,7 +164,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_success_policy.py b/kubernetes/client/models/v1_success_policy.py index 917f70c5e0..26382db94f 100644 --- a/kubernetes/client/models/v1_success_policy.py +++ b/kubernetes/client/models/v1_success_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_success_policy_rule.py b/kubernetes/client/models/v1_success_policy_rule.py index 03b8d7dfc2..9bc7b588ee 100644 --- a/kubernetes/client/models/v1_success_policy_rule.py +++ b/kubernetes/client/models/v1_success_policy_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_sysctl.py b/kubernetes/client/models/v1_sysctl.py index 1567f3a518..1ac2909d81 100644 --- a/kubernetes/client/models/v1_sysctl.py +++ b/kubernetes/client/models/v1_sysctl.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_taint.py b/kubernetes/client/models/v1_taint.py index a973f0a394..2669722a82 100644 --- a/kubernetes/client/models/v1_taint.py +++ b/kubernetes/client/models/v1_taint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index 431971460f..f697525dd3 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_token_request_spec.py b/kubernetes/client/models/v1_token_request_spec.py index 5390a38744..fbbed8b345 100644 --- a/kubernetes/client/models/v1_token_request_spec.py +++ b/kubernetes/client/models/v1_token_request_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_token_request_status.py b/kubernetes/client/models/v1_token_request_status.py index 2e47cb67cd..68d389347f 100644 --- a/kubernetes/client/models/v1_token_request_status.py +++ b/kubernetes/client/models/v1_token_request_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_token_review.py b/kubernetes/client/models/v1_token_review.py index 73284d4252..0dd6b23950 100644 --- a/kubernetes/client/models/v1_token_review.py +++ b/kubernetes/client/models/v1_token_review.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_token_review_spec.py b/kubernetes/client/models/v1_token_review_spec.py index b372164994..d6b78a13fa 100644 --- a/kubernetes/client/models/v1_token_review_spec.py +++ b/kubernetes/client/models/v1_token_review_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_token_review_status.py b/kubernetes/client/models/v1_token_review_status.py index 5c46cc917b..f735f4f4b1 100644 --- a/kubernetes/client/models/v1_token_review_status.py +++ b/kubernetes/client/models/v1_token_review_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_toleration.py b/kubernetes/client/models/v1_toleration.py index fc3d4d8605..06c0ebbde1 100644 --- a/kubernetes/client/models/v1_toleration.py +++ b/kubernetes/client/models/v1_toleration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_topology_selector_label_requirement.py b/kubernetes/client/models/v1_topology_selector_label_requirement.py index 0d89ea2e16..2502818a1d 100644 --- a/kubernetes/client/models/v1_topology_selector_label_requirement.py +++ b/kubernetes/client/models/v1_topology_selector_label_requirement.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_topology_selector_term.py b/kubernetes/client/models/v1_topology_selector_term.py index 6ebc15db97..ce9227cf14 100644 --- a/kubernetes/client/models/v1_topology_selector_term.py +++ b/kubernetes/client/models/v1_topology_selector_term.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_topology_spread_constraint.py b/kubernetes/client/models/v1_topology_spread_constraint.py index d4deef62db..dda1c67db0 100644 --- a/kubernetes/client/models/v1_topology_spread_constraint.py +++ b/kubernetes/client/models/v1_topology_spread_constraint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -276,7 +274,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_type_checking.py b/kubernetes/client/models/v1_type_checking.py index 82396390ee..ae0016cbb3 100644 --- a/kubernetes/client/models/v1_type_checking.py +++ b/kubernetes/client/models/v1_type_checking.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_typed_local_object_reference.py b/kubernetes/client/models/v1_typed_local_object_reference.py index 7f9c0623b3..c80d4749be 100644 --- a/kubernetes/client/models/v1_typed_local_object_reference.py +++ b/kubernetes/client/models/v1_typed_local_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_typed_object_reference.py b/kubernetes/client/models/v1_typed_object_reference.py index 36a8c2fd73..a2d4d52035 100644 --- a/kubernetes/client/models/v1_typed_object_reference.py +++ b/kubernetes/client/models/v1_typed_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_uncounted_terminated_pods.py b/kubernetes/client/models/v1_uncounted_terminated_pods.py index 3c29c83614..4b95255768 100644 --- a/kubernetes/client/models/v1_uncounted_terminated_pods.py +++ b/kubernetes/client/models/v1_uncounted_terminated_pods.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_user_info.py b/kubernetes/client/models/v1_user_info.py index acf25b4bea..687559ef66 100644 --- a/kubernetes/client/models/v1_user_info.py +++ b/kubernetes/client/models/v1_user_info.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_user_subject.py b/kubernetes/client/models/v1_user_subject.py index 3c2fe1f7f8..49d96d218b 100644 --- a/kubernetes/client/models/v1_user_subject.py +++ b/kubernetes/client/models/v1_user_subject.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy.py b/kubernetes/client/models/v1_validating_admission_policy.py index 1ffb7936a9..24df659edf 100644 --- a/kubernetes/client/models/v1_validating_admission_policy.py +++ b/kubernetes/client/models/v1_validating_admission_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy_binding.py b/kubernetes/client/models/v1_validating_admission_policy_binding.py index d0f95c0565..22e280be78 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_binding.py +++ b/kubernetes/client/models/v1_validating_admission_policy_binding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy_binding_list.py b/kubernetes/client/models/v1_validating_admission_policy_binding_list.py index 93cb18f536..500d0cc90e 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_binding_list.py +++ b/kubernetes/client/models/v1_validating_admission_policy_binding_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py b/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py index 1a296df825..ce69ff4a98 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py +++ b/kubernetes/client/models/v1_validating_admission_policy_binding_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy_list.py b/kubernetes/client/models/v1_validating_admission_policy_list.py index 23573661cc..af0fe75306 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_list.py +++ b/kubernetes/client/models/v1_validating_admission_policy_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy_spec.py b/kubernetes/client/models/v1_validating_admission_policy_spec.py index 453308de72..26613fa6d0 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_spec.py +++ b/kubernetes/client/models/v1_validating_admission_policy_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -243,7 +241,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_admission_policy_status.py b/kubernetes/client/models/v1_validating_admission_policy_status.py index 31f85a96c2..d4ef0fdcac 100644 --- a/kubernetes/client/models/v1_validating_admission_policy_status.py +++ b/kubernetes/client/models/v1_validating_admission_policy_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_webhook.py b/kubernetes/client/models/v1_validating_webhook.py index ecb3dc7562..752f44ceaa 100644 --- a/kubernetes/client/models/v1_validating_webhook.py +++ b/kubernetes/client/models/v1_validating_webhook.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -357,7 +355,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_webhook_configuration.py b/kubernetes/client/models/v1_validating_webhook_configuration.py index dedbe015de..051b397a12 100644 --- a/kubernetes/client/models/v1_validating_webhook_configuration.py +++ b/kubernetes/client/models/v1_validating_webhook_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validating_webhook_configuration_list.py b/kubernetes/client/models/v1_validating_webhook_configuration_list.py index 7acb09e3d4..6302db40c0 100644 --- a/kubernetes/client/models/v1_validating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1_validating_webhook_configuration_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validation.py b/kubernetes/client/models/v1_validation.py index b673b8097e..19dfdeb94f 100644 --- a/kubernetes/client/models/v1_validation.py +++ b/kubernetes/client/models/v1_validation.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -164,7 +162,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_validation_rule.py b/kubernetes/client/models/v1_validation_rule.py index 53ec7ba5ae..3285cc5c66 100644 --- a/kubernetes/client/models/v1_validation_rule.py +++ b/kubernetes/client/models/v1_validation_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -220,7 +218,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_variable.py b/kubernetes/client/models/v1_variable.py index f6026fa1c3..3b0d3459ea 100644 --- a/kubernetes/client/models/v1_variable.py +++ b/kubernetes/client/models/v1_variable.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index 81cbb3999f..1273f22c27 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -860,7 +858,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attachment.py b/kubernetes/client/models/v1_volume_attachment.py index 583a3f7a7b..488e0c1175 100644 --- a/kubernetes/client/models/v1_volume_attachment.py +++ b/kubernetes/client/models/v1_volume_attachment.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attachment_list.py b/kubernetes/client/models/v1_volume_attachment_list.py index d77696ec9e..66d3a1cf46 100644 --- a/kubernetes/client/models/v1_volume_attachment_list.py +++ b/kubernetes/client/models/v1_volume_attachment_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attachment_source.py b/kubernetes/client/models/v1_volume_attachment_source.py index 716c03a9b6..98d2b3261c 100644 --- a/kubernetes/client/models/v1_volume_attachment_source.py +++ b/kubernetes/client/models/v1_volume_attachment_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attachment_spec.py b/kubernetes/client/models/v1_volume_attachment_spec.py index 11eede437f..05799e946f 100644 --- a/kubernetes/client/models/v1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1_volume_attachment_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attachment_status.py b/kubernetes/client/models/v1_volume_attachment_status.py index 1e88042bac..9d5afe3a14 100644 --- a/kubernetes/client/models/v1_volume_attachment_status.py +++ b/kubernetes/client/models/v1_volume_attachment_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attributes_class.py b/kubernetes/client/models/v1_volume_attributes_class.py index fea3128040..f7597b6c40 100644 --- a/kubernetes/client/models/v1_volume_attributes_class.py +++ b/kubernetes/client/models/v1_volume_attributes_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_attributes_class_list.py b/kubernetes/client/models/v1_volume_attributes_class_list.py index dbb8f77533..4832fd4dc2 100644 --- a/kubernetes/client/models/v1_volume_attributes_class_list.py +++ b/kubernetes/client/models/v1_volume_attributes_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_device.py b/kubernetes/client/models/v1_volume_device.py index 5cc3268d4e..8ff2805070 100644 --- a/kubernetes/client/models/v1_volume_device.py +++ b/kubernetes/client/models/v1_volume_device.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_error.py b/kubernetes/client/models/v1_volume_error.py index e8be1194f6..1a473b3fbc 100644 --- a/kubernetes/client/models/v1_volume_error.py +++ b/kubernetes/client/models/v1_volume_error.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index 020c765c1b..410bbb237c 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -249,7 +247,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_mount_status.py b/kubernetes/client/models/v1_volume_mount_status.py index c40e68c3bc..cd71b117fd 100644 --- a/kubernetes/client/models/v1_volume_mount_status.py +++ b/kubernetes/client/models/v1_volume_mount_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_node_affinity.py b/kubernetes/client/models/v1_volume_node_affinity.py index 5da4436aa7..63be8053cb 100644 --- a/kubernetes/client/models/v1_volume_node_affinity.py +++ b/kubernetes/client/models/v1_volume_node_affinity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_node_resources.py b/kubernetes/client/models/v1_volume_node_resources.py index 9dbceb0ae8..c6a286b950 100644 --- a/kubernetes/client/models/v1_volume_node_resources.py +++ b/kubernetes/client/models/v1_volume_node_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_projection.py b/kubernetes/client/models/v1_volume_projection.py index bcd585cc0b..ddd0896dd1 100644 --- a/kubernetes/client/models/v1_volume_projection.py +++ b/kubernetes/client/models/v1_volume_projection.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -207,7 +205,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_volume_resource_requirements.py b/kubernetes/client/models/v1_volume_resource_requirements.py index 7e8cd55c0e..ffa34a9d78 100644 --- a/kubernetes/client/models/v1_volume_resource_requirements.py +++ b/kubernetes/client/models/v1_volume_resource_requirements.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py index a7e6805e0e..300cd27a8f 100644 --- a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -164,7 +162,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_watch_event.py b/kubernetes/client/models/v1_watch_event.py index c52f458a4c..fd05f2bb2e 100644 --- a/kubernetes/client/models/v1_watch_event.py +++ b/kubernetes/client/models/v1_watch_event.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_webhook_conversion.py b/kubernetes/client/models/v1_webhook_conversion.py index bbfdf370f4..0bd4f868ce 100644 --- a/kubernetes/client/models/v1_webhook_conversion.py +++ b/kubernetes/client/models/v1_webhook_conversion.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_weighted_pod_affinity_term.py b/kubernetes/client/models/v1_weighted_pod_affinity_term.py index c3ccf5bde9..6b294b96b3 100644 --- a/kubernetes/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes/client/models/v1_weighted_pod_affinity_term.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1_windows_security_context_options.py b/kubernetes/client/models/v1_windows_security_context_options.py index f39166ce5e..bee2754d14 100644 --- a/kubernetes/client/models/v1_windows_security_context_options.py +++ b/kubernetes/client/models/v1_windows_security_context_options.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_apply_configuration.py b/kubernetes/client/models/v1alpha1_apply_configuration.py index 69d993459a..42b20a4388 100644 --- a/kubernetes/client/models/v1alpha1_apply_configuration.py +++ b/kubernetes/client/models/v1alpha1_apply_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py b/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py index 5a4e90acaa..ee37114a5d 100644 --- a/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py +++ b/kubernetes/client/models/v1alpha1_cluster_trust_bundle.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py index 421422c939..e23a85e68e 100644 --- a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py index 99c276b3a2..392de4aac4 100644 --- a/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py +++ b/kubernetes/client/models/v1alpha1_cluster_trust_bundle_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_group_version_resource.py b/kubernetes/client/models/v1alpha1_group_version_resource.py index 6efbb6b12a..c5b8d36aac 100644 --- a/kubernetes/client/models/v1alpha1_group_version_resource.py +++ b/kubernetes/client/models/v1alpha1_group_version_resource.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_json_patch.py b/kubernetes/client/models/v1alpha1_json_patch.py index 1952678296..58dfcced20 100644 --- a/kubernetes/client/models/v1alpha1_json_patch.py +++ b/kubernetes/client/models/v1alpha1_json_patch.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_match_condition.py b/kubernetes/client/models/v1alpha1_match_condition.py index 90facd81a7..ae1e7760ec 100644 --- a/kubernetes/client/models/v1alpha1_match_condition.py +++ b/kubernetes/client/models/v1alpha1_match_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_match_resources.py b/kubernetes/client/models/v1alpha1_match_resources.py index f52c43ba55..59e3189c69 100644 --- a/kubernetes/client/models/v1alpha1_match_resources.py +++ b/kubernetes/client/models/v1alpha1_match_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -187,7 +185,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_migration_condition.py b/kubernetes/client/models/v1alpha1_migration_condition.py index 1d7dd92163..fedd4df7e8 100644 --- a/kubernetes/client/models/v1alpha1_migration_condition.py +++ b/kubernetes/client/models/v1alpha1_migration_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutating_admission_policy.py b/kubernetes/client/models/v1alpha1_mutating_admission_policy.py index f11d2ef4ee..ec77147f0a 100644 --- a/kubernetes/client/models/v1alpha1_mutating_admission_policy.py +++ b/kubernetes/client/models/v1alpha1_mutating_admission_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding.py b/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding.py index 9e51ba2a9b..19cf3f04c9 100644 --- a/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding.py +++ b/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_list.py b/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_list.py index 7a393f5972..c0dc679c10 100644 --- a/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_list.py +++ b/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_spec.py b/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_spec.py index b4c5a32db6..e6173a22ef 100644 --- a/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_spec.py +++ b/kubernetes/client/models/v1alpha1_mutating_admission_policy_binding_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutating_admission_policy_list.py b/kubernetes/client/models/v1alpha1_mutating_admission_policy_list.py index b43fba3f5c..08ef708587 100644 --- a/kubernetes/client/models/v1alpha1_mutating_admission_policy_list.py +++ b/kubernetes/client/models/v1alpha1_mutating_admission_policy_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutating_admission_policy_spec.py b/kubernetes/client/models/v1alpha1_mutating_admission_policy_spec.py index 30bd3322b5..8308709213 100644 --- a/kubernetes/client/models/v1alpha1_mutating_admission_policy_spec.py +++ b/kubernetes/client/models/v1alpha1_mutating_admission_policy_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -243,7 +241,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_mutation.py b/kubernetes/client/models/v1alpha1_mutation.py index 32cbb60410..3a8553065c 100644 --- a/kubernetes/client/models/v1alpha1_mutation.py +++ b/kubernetes/client/models/v1alpha1_mutation.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -132,7 +130,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_named_rule_with_operations.py b/kubernetes/client/models/v1alpha1_named_rule_with_operations.py index e1a653894d..6f52906070 100644 --- a/kubernetes/client/models/v1alpha1_named_rule_with_operations.py +++ b/kubernetes/client/models/v1alpha1_named_rule_with_operations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_param_kind.py b/kubernetes/client/models/v1alpha1_param_kind.py index 20d0fc6e89..7bdec59a68 100644 --- a/kubernetes/client/models/v1alpha1_param_kind.py +++ b/kubernetes/client/models/v1alpha1_param_kind.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_param_ref.py b/kubernetes/client/models/v1alpha1_param_ref.py index d20852657f..b92aec6d6a 100644 --- a/kubernetes/client/models/v1alpha1_param_ref.py +++ b/kubernetes/client/models/v1alpha1_param_ref.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_pod_certificate_request.py b/kubernetes/client/models/v1alpha1_pod_certificate_request.py index a6e770b008..322c7ce8af 100644 --- a/kubernetes/client/models/v1alpha1_pod_certificate_request.py +++ b/kubernetes/client/models/v1alpha1_pod_certificate_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_pod_certificate_request_list.py b/kubernetes/client/models/v1alpha1_pod_certificate_request_list.py index 26d631f9f3..1a7e54b4f7 100644 --- a/kubernetes/client/models/v1alpha1_pod_certificate_request_list.py +++ b/kubernetes/client/models/v1alpha1_pod_certificate_request_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_pod_certificate_request_spec.py b/kubernetes/client/models/v1alpha1_pod_certificate_request_spec.py index a473023448..79e3e84f2d 100644 --- a/kubernetes/client/models/v1alpha1_pod_certificate_request_spec.py +++ b/kubernetes/client/models/v1alpha1_pod_certificate_request_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -346,7 +344,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_pod_certificate_request_status.py b/kubernetes/client/models/v1alpha1_pod_certificate_request_status.py index 5ed0861313..a3edfe624f 100644 --- a/kubernetes/client/models/v1alpha1_pod_certificate_request_status.py +++ b/kubernetes/client/models/v1alpha1_pod_certificate_request_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_server_storage_version.py b/kubernetes/client/models/v1alpha1_server_storage_version.py index b6f6beee22..4f81b672dc 100644 --- a/kubernetes/client/models/v1alpha1_server_storage_version.py +++ b/kubernetes/client/models/v1alpha1_server_storage_version.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version.py b/kubernetes/client/models/v1alpha1_storage_version.py index f2505d2959..00eeb617d2 100644 --- a/kubernetes/client/models/v1alpha1_storage_version.py +++ b/kubernetes/client/models/v1alpha1_storage_version.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -189,7 +187,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_condition.py b/kubernetes/client/models/v1alpha1_storage_version_condition.py index 05aea5285b..7a1365e5a6 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_condition.py +++ b/kubernetes/client/models/v1alpha1_storage_version_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -223,7 +221,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_list.py b/kubernetes/client/models/v1alpha1_storage_version_list.py index aaa5f49d50..000182f265 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_list.py +++ b/kubernetes/client/models/v1alpha1_storage_version_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration.py b/kubernetes/client/models/v1alpha1_storage_version_migration.py index 90e57a9272..00a768fe4b 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration_list.py b/kubernetes/client/models/v1alpha1_storage_version_migration_list.py index c43a7a57b3..ba41ad9022 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration_list.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py b/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py index 2d7431ad2b..feac9fdf22 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_migration_status.py b/kubernetes/client/models/v1alpha1_storage_version_migration_status.py index 333228a163..8ac19e4c97 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_migration_status.py +++ b/kubernetes/client/models/v1alpha1_storage_version_migration_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_storage_version_status.py b/kubernetes/client/models/v1alpha1_storage_version_status.py index 59ae6b0211..d77e8e23b6 100644 --- a/kubernetes/client/models/v1alpha1_storage_version_status.py +++ b/kubernetes/client/models/v1alpha1_storage_version_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_variable.py b/kubernetes/client/models/v1alpha1_variable.py index 2510fe65b6..f3e9bea86a 100644 --- a/kubernetes/client/models/v1alpha1_variable.py +++ b/kubernetes/client/models/v1alpha1_variable.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_volume_attributes_class.py b/kubernetes/client/models/v1alpha1_volume_attributes_class.py index 590c8d90af..96f223e1dd 100644 --- a/kubernetes/client/models/v1alpha1_volume_attributes_class.py +++ b/kubernetes/client/models/v1alpha1_volume_attributes_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py b/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py index 6fcabf712d..c74c44bb09 100644 --- a/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py +++ b/kubernetes/client/models/v1alpha1_volume_attributes_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha2_lease_candidate.py b/kubernetes/client/models/v1alpha2_lease_candidate.py index 9ca6a75dfc..fbe03eaa75 100644 --- a/kubernetes/client/models/v1alpha2_lease_candidate.py +++ b/kubernetes/client/models/v1alpha2_lease_candidate.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha2_lease_candidate_list.py b/kubernetes/client/models/v1alpha2_lease_candidate_list.py index 7edfab45a8..d01eb56d64 100644 --- a/kubernetes/client/models/v1alpha2_lease_candidate_list.py +++ b/kubernetes/client/models/v1alpha2_lease_candidate_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha2_lease_candidate_spec.py b/kubernetes/client/models/v1alpha2_lease_candidate_spec.py index bf51374422..893ecdfc52 100644 --- a/kubernetes/client/models/v1alpha2_lease_candidate_spec.py +++ b/kubernetes/client/models/v1alpha2_lease_candidate_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -222,7 +220,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_cel_device_selector.py b/kubernetes/client/models/v1alpha3_cel_device_selector.py index d8892724e8..fde55d7016 100644 --- a/kubernetes/client/models/v1alpha3_cel_device_selector.py +++ b/kubernetes/client/models/v1alpha3_cel_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_device_selector.py b/kubernetes/client/models/v1alpha3_device_selector.py index d8c43c0860..26b26c1fb2 100644 --- a/kubernetes/client/models/v1alpha3_device_selector.py +++ b/kubernetes/client/models/v1alpha3_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_device_taint.py b/kubernetes/client/models/v1alpha3_device_taint.py index e6ec0e5c32..1025724bfa 100644 --- a/kubernetes/client/models/v1alpha3_device_taint.py +++ b/kubernetes/client/models/v1alpha3_device_taint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_device_taint_rule.py b/kubernetes/client/models/v1alpha3_device_taint_rule.py index bcc39dace9..6c07fa9f8d 100644 --- a/kubernetes/client/models/v1alpha3_device_taint_rule.py +++ b/kubernetes/client/models/v1alpha3_device_taint_rule.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_device_taint_rule_list.py b/kubernetes/client/models/v1alpha3_device_taint_rule_list.py index 9289bed9ed..be3a9569b1 100644 --- a/kubernetes/client/models/v1alpha3_device_taint_rule_list.py +++ b/kubernetes/client/models/v1alpha3_device_taint_rule_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_device_taint_rule_spec.py b/kubernetes/client/models/v1alpha3_device_taint_rule_spec.py index 59785931f4..4e8cc0169c 100644 --- a/kubernetes/client/models/v1alpha3_device_taint_rule_spec.py +++ b/kubernetes/client/models/v1alpha3_device_taint_rule_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -104,7 +102,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1alpha3_device_taint_selector.py b/kubernetes/client/models/v1alpha3_device_taint_selector.py index 07bdb4a88b..8aac8d7d09 100644 --- a/kubernetes/client/models/v1alpha3_device_taint_selector.py +++ b/kubernetes/client/models/v1alpha3_device_taint_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_allocated_device_status.py b/kubernetes/client/models/v1beta1_allocated_device_status.py index b6b41255f5..3bb9b8f1b5 100644 --- a/kubernetes/client/models/v1beta1_allocated_device_status.py +++ b/kubernetes/client/models/v1beta1_allocated_device_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -248,7 +246,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_allocation_result.py b/kubernetes/client/models/v1beta1_allocation_result.py index a726798897..4569e351e2 100644 --- a/kubernetes/client/models/v1beta1_allocation_result.py +++ b/kubernetes/client/models/v1beta1_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_apply_configuration.py b/kubernetes/client/models/v1beta1_apply_configuration.py index f22eba737e..761b32a85c 100644 --- a/kubernetes/client/models/v1beta1_apply_configuration.py +++ b/kubernetes/client/models/v1beta1_apply_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_basic_device.py b/kubernetes/client/models/v1beta1_basic_device.py index 6d35d1e030..a0b1cd27a5 100644 --- a/kubernetes/client/models/v1beta1_basic_device.py +++ b/kubernetes/client/models/v1beta1_basic_device.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -357,7 +355,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_capacity_request_policy.py b/kubernetes/client/models/v1beta1_capacity_request_policy.py index 74c759d397..55e35e5190 100644 --- a/kubernetes/client/models/v1beta1_capacity_request_policy.py +++ b/kubernetes/client/models/v1beta1_capacity_request_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_capacity_request_policy_range.py b/kubernetes/client/models/v1beta1_capacity_request_policy_range.py index 13b4cb30a8..f54c94f855 100644 --- a/kubernetes/client/models/v1beta1_capacity_request_policy_range.py +++ b/kubernetes/client/models/v1beta1_capacity_request_policy_range.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_capacity_requirements.py b/kubernetes/client/models/v1beta1_capacity_requirements.py index bc1d3f3c54..cc533a4ef5 100644 --- a/kubernetes/client/models/v1beta1_capacity_requirements.py +++ b/kubernetes/client/models/v1beta1_capacity_requirements.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_cel_device_selector.py b/kubernetes/client/models/v1beta1_cel_device_selector.py index 901885cbbd..b62a119800 100644 --- a/kubernetes/client/models/v1beta1_cel_device_selector.py +++ b/kubernetes/client/models/v1beta1_cel_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_cluster_trust_bundle.py b/kubernetes/client/models/v1beta1_cluster_trust_bundle.py index adb0262238..7ae004ace7 100644 --- a/kubernetes/client/models/v1beta1_cluster_trust_bundle.py +++ b/kubernetes/client/models/v1beta1_cluster_trust_bundle.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_cluster_trust_bundle_list.py b/kubernetes/client/models/v1beta1_cluster_trust_bundle_list.py index a3c6f0e8ef..f4b501482b 100644 --- a/kubernetes/client/models/v1beta1_cluster_trust_bundle_list.py +++ b/kubernetes/client/models/v1beta1_cluster_trust_bundle_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_cluster_trust_bundle_spec.py b/kubernetes/client/models/v1beta1_cluster_trust_bundle_spec.py index e904534827..4da46a55da 100644 --- a/kubernetes/client/models/v1beta1_cluster_trust_bundle_spec.py +++ b/kubernetes/client/models/v1beta1_cluster_trust_bundle_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -108,7 +106,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_counter.py b/kubernetes/client/models/v1beta1_counter.py index b2ba05c50f..49c7f1d95a 100644 --- a/kubernetes/client/models/v1beta1_counter.py +++ b/kubernetes/client/models/v1beta1_counter.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_counter_set.py b/kubernetes/client/models/v1beta1_counter_set.py index 22a96070cf..86c517444d 100644 --- a/kubernetes/client/models/v1beta1_counter_set.py +++ b/kubernetes/client/models/v1beta1_counter_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device.py b/kubernetes/client/models/v1beta1_device.py index 2d9e49f56a..1211b86bcb 100644 --- a/kubernetes/client/models/v1beta1_device.py +++ b/kubernetes/client/models/v1beta1_device.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_allocation_configuration.py b/kubernetes/client/models/v1beta1_device_allocation_configuration.py index f9d2845daf..fb5ad80901 100644 --- a/kubernetes/client/models/v1beta1_device_allocation_configuration.py +++ b/kubernetes/client/models/v1beta1_device_allocation_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_allocation_result.py b/kubernetes/client/models/v1beta1_device_allocation_result.py index 9ca0e8b34b..1f0aec055b 100644 --- a/kubernetes/client/models/v1beta1_device_allocation_result.py +++ b/kubernetes/client/models/v1beta1_device_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_attribute.py b/kubernetes/client/models/v1beta1_device_attribute.py index a9a5691d0a..631fe69077 100644 --- a/kubernetes/client/models/v1beta1_device_attribute.py +++ b/kubernetes/client/models/v1beta1_device_attribute.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_capacity.py b/kubernetes/client/models/v1beta1_device_capacity.py index 150003376e..a7100a4892 100644 --- a/kubernetes/client/models/v1beta1_device_capacity.py +++ b/kubernetes/client/models/v1beta1_device_capacity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_claim.py b/kubernetes/client/models/v1beta1_device_claim.py index f366d572a4..8e973db17d 100644 --- a/kubernetes/client/models/v1beta1_device_claim.py +++ b/kubernetes/client/models/v1beta1_device_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_claim_configuration.py b/kubernetes/client/models/v1beta1_device_claim_configuration.py index 35af6a11a0..1c48bbc568 100644 --- a/kubernetes/client/models/v1beta1_device_claim_configuration.py +++ b/kubernetes/client/models/v1beta1_device_claim_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_class.py b/kubernetes/client/models/v1beta1_device_class.py index fa99ce7fb3..b2bd7f76f2 100644 --- a/kubernetes/client/models/v1beta1_device_class.py +++ b/kubernetes/client/models/v1beta1_device_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_class_configuration.py b/kubernetes/client/models/v1beta1_device_class_configuration.py index a0818e3edd..9aaa00a348 100644 --- a/kubernetes/client/models/v1beta1_device_class_configuration.py +++ b/kubernetes/client/models/v1beta1_device_class_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_class_list.py b/kubernetes/client/models/v1beta1_device_class_list.py index 61b462a327..9d3557f487 100644 --- a/kubernetes/client/models/v1beta1_device_class_list.py +++ b/kubernetes/client/models/v1beta1_device_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_class_spec.py b/kubernetes/client/models/v1beta1_device_class_spec.py index c8c43b8be8..8aef0d1a13 100644 --- a/kubernetes/client/models/v1beta1_device_class_spec.py +++ b/kubernetes/client/models/v1beta1_device_class_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_constraint.py b/kubernetes/client/models/v1beta1_device_constraint.py index f89dab4ea1..8360d0dbd6 100644 --- a/kubernetes/client/models/v1beta1_device_constraint.py +++ b/kubernetes/client/models/v1beta1_device_constraint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_counter_consumption.py b/kubernetes/client/models/v1beta1_device_counter_consumption.py index caa4fe1895..8847389be9 100644 --- a/kubernetes/client/models/v1beta1_device_counter_consumption.py +++ b/kubernetes/client/models/v1beta1_device_counter_consumption.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_request.py b/kubernetes/client/models/v1beta1_device_request.py index 60307edc50..69913d5724 100644 --- a/kubernetes/client/models/v1beta1_device_request.py +++ b/kubernetes/client/models/v1beta1_device_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -302,7 +300,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_request_allocation_result.py b/kubernetes/client/models/v1beta1_device_request_allocation_result.py index 7a08ed6575..914926efaf 100644 --- a/kubernetes/client/models/v1beta1_device_request_allocation_result.py +++ b/kubernetes/client/models/v1beta1_device_request_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -335,7 +333,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_selector.py b/kubernetes/client/models/v1beta1_device_selector.py index 93465cae6f..529626e91d 100644 --- a/kubernetes/client/models/v1beta1_device_selector.py +++ b/kubernetes/client/models/v1beta1_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_sub_request.py b/kubernetes/client/models/v1beta1_device_sub_request.py index a6c5c45692..7b45352559 100644 --- a/kubernetes/client/models/v1beta1_device_sub_request.py +++ b/kubernetes/client/models/v1beta1_device_sub_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -247,7 +245,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_taint.py b/kubernetes/client/models/v1beta1_device_taint.py index 53c4498885..84d064f4dd 100644 --- a/kubernetes/client/models/v1beta1_device_taint.py +++ b/kubernetes/client/models/v1beta1_device_taint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_device_toleration.py b/kubernetes/client/models/v1beta1_device_toleration.py index ab55caa9b5..7e9d0be487 100644 --- a/kubernetes/client/models/v1beta1_device_toleration.py +++ b/kubernetes/client/models/v1beta1_device_toleration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_ip_address.py b/kubernetes/client/models/v1beta1_ip_address.py index 8a88a96676..84ff3dbdd9 100644 --- a/kubernetes/client/models/v1beta1_ip_address.py +++ b/kubernetes/client/models/v1beta1_ip_address.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_ip_address_list.py b/kubernetes/client/models/v1beta1_ip_address_list.py index 8ce18f8da6..ea20ed191f 100644 --- a/kubernetes/client/models/v1beta1_ip_address_list.py +++ b/kubernetes/client/models/v1beta1_ip_address_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_ip_address_spec.py b/kubernetes/client/models/v1beta1_ip_address_spec.py index ee7d2e3a58..90cee54d05 100644 --- a/kubernetes/client/models/v1beta1_ip_address_spec.py +++ b/kubernetes/client/models/v1beta1_ip_address_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -78,7 +76,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_json_patch.py b/kubernetes/client/models/v1beta1_json_patch.py index 746d4e011f..2eae368ab8 100644 --- a/kubernetes/client/models/v1beta1_json_patch.py +++ b/kubernetes/client/models/v1beta1_json_patch.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_lease_candidate.py b/kubernetes/client/models/v1beta1_lease_candidate.py index 27142b0fdd..08083a5401 100644 --- a/kubernetes/client/models/v1beta1_lease_candidate.py +++ b/kubernetes/client/models/v1beta1_lease_candidate.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_lease_candidate_list.py b/kubernetes/client/models/v1beta1_lease_candidate_list.py index a883a06054..8145daa1cf 100644 --- a/kubernetes/client/models/v1beta1_lease_candidate_list.py +++ b/kubernetes/client/models/v1beta1_lease_candidate_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_lease_candidate_spec.py b/kubernetes/client/models/v1beta1_lease_candidate_spec.py index 85010084ff..354ca72d35 100644 --- a/kubernetes/client/models/v1beta1_lease_candidate_spec.py +++ b/kubernetes/client/models/v1beta1_lease_candidate_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -222,7 +220,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_match_condition.py b/kubernetes/client/models/v1beta1_match_condition.py index 15f156d80e..c1cbe99e65 100644 --- a/kubernetes/client/models/v1beta1_match_condition.py +++ b/kubernetes/client/models/v1beta1_match_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_match_resources.py b/kubernetes/client/models/v1beta1_match_resources.py index 514917c463..8e829df3f8 100644 --- a/kubernetes/client/models/v1beta1_match_resources.py +++ b/kubernetes/client/models/v1beta1_match_resources.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -187,7 +185,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutating_admission_policy.py b/kubernetes/client/models/v1beta1_mutating_admission_policy.py index b64474ead0..c316087e0f 100644 --- a/kubernetes/client/models/v1beta1_mutating_admission_policy.py +++ b/kubernetes/client/models/v1beta1_mutating_admission_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutating_admission_policy_binding.py b/kubernetes/client/models/v1beta1_mutating_admission_policy_binding.py index b3096d0052..df9197edf1 100644 --- a/kubernetes/client/models/v1beta1_mutating_admission_policy_binding.py +++ b/kubernetes/client/models/v1beta1_mutating_admission_policy_binding.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -159,7 +157,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_list.py b/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_list.py index 18c05a93c6..59e628dffe 100644 --- a/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_list.py +++ b/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_spec.py b/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_spec.py index 14dc5f513d..7860f59872 100644 --- a/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_spec.py +++ b/kubernetes/client/models/v1beta1_mutating_admission_policy_binding_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutating_admission_policy_list.py b/kubernetes/client/models/v1beta1_mutating_admission_policy_list.py index b796c90fa2..d865f1bb88 100644 --- a/kubernetes/client/models/v1beta1_mutating_admission_policy_list.py +++ b/kubernetes/client/models/v1beta1_mutating_admission_policy_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutating_admission_policy_spec.py b/kubernetes/client/models/v1beta1_mutating_admission_policy_spec.py index ed365d663e..1a12c9c024 100644 --- a/kubernetes/client/models/v1beta1_mutating_admission_policy_spec.py +++ b/kubernetes/client/models/v1beta1_mutating_admission_policy_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -243,7 +241,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_mutation.py b/kubernetes/client/models/v1beta1_mutation.py index 8602df1655..df9fe0a5c8 100644 --- a/kubernetes/client/models/v1beta1_mutation.py +++ b/kubernetes/client/models/v1beta1_mutation.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -132,7 +130,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_named_rule_with_operations.py b/kubernetes/client/models/v1beta1_named_rule_with_operations.py index d384736fda..5790ef8ffc 100644 --- a/kubernetes/client/models/v1beta1_named_rule_with_operations.py +++ b/kubernetes/client/models/v1beta1_named_rule_with_operations.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -219,7 +217,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_network_device_data.py b/kubernetes/client/models/v1beta1_network_device_data.py index 57db3ae987..dcad5eb8e6 100644 --- a/kubernetes/client/models/v1beta1_network_device_data.py +++ b/kubernetes/client/models/v1beta1_network_device_data.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_opaque_device_configuration.py b/kubernetes/client/models/v1beta1_opaque_device_configuration.py index 7ccd3fd9e4..4585a1e02a 100644 --- a/kubernetes/client/models/v1beta1_opaque_device_configuration.py +++ b/kubernetes/client/models/v1beta1_opaque_device_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_param_kind.py b/kubernetes/client/models/v1beta1_param_kind.py index 82d44c5719..def74de099 100644 --- a/kubernetes/client/models/v1beta1_param_kind.py +++ b/kubernetes/client/models/v1beta1_param_kind.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_param_ref.py b/kubernetes/client/models/v1beta1_param_ref.py index 23dc27ab02..2f9f86bbeb 100644 --- a/kubernetes/client/models/v1beta1_param_ref.py +++ b/kubernetes/client/models/v1beta1_param_ref.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -161,7 +159,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_parent_reference.py b/kubernetes/client/models/v1beta1_parent_reference.py index 6fe9befc85..12a584173e 100644 --- a/kubernetes/client/models/v1beta1_parent_reference.py +++ b/kubernetes/client/models/v1beta1_parent_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim.py b/kubernetes/client/models/v1beta1_resource_claim.py index c5d7d7e2ad..012db72cd9 100644 --- a/kubernetes/client/models/v1beta1_resource_claim.py +++ b/kubernetes/client/models/v1beta1_resource_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py b/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py index 7975b5236e..6b808821f5 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py +++ b/kubernetes/client/models/v1beta1_resource_claim_consumer_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -166,7 +164,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_list.py b/kubernetes/client/models/v1beta1_resource_claim_list.py index 16d4d69996..bbc06d6213 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_list.py +++ b/kubernetes/client/models/v1beta1_resource_claim_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_spec.py b/kubernetes/client/models/v1beta1_resource_claim_spec.py index 58e788ba86..483df7f73b 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_spec.py +++ b/kubernetes/client/models/v1beta1_resource_claim_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_status.py b/kubernetes/client/models/v1beta1_resource_claim_status.py index bc57acf3ba..d3e334375b 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_status.py +++ b/kubernetes/client/models/v1beta1_resource_claim_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_template.py b/kubernetes/client/models/v1beta1_resource_claim_template.py index 43b276f464..30c9f20f54 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_template.py +++ b/kubernetes/client/models/v1beta1_resource_claim_template.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_template_list.py b/kubernetes/client/models/v1beta1_resource_claim_template_list.py index bd4bc2cf6d..684d2c151d 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_template_list.py +++ b/kubernetes/client/models/v1beta1_resource_claim_template_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_claim_template_spec.py b/kubernetes/client/models/v1beta1_resource_claim_template_spec.py index eacc8262c5..63f1240421 100644 --- a/kubernetes/client/models/v1beta1_resource_claim_template_spec.py +++ b/kubernetes/client/models/v1beta1_resource_claim_template_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -104,7 +102,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_pool.py b/kubernetes/client/models/v1beta1_resource_pool.py index c59100415a..6a4ce61be2 100644 --- a/kubernetes/client/models/v1beta1_resource_pool.py +++ b/kubernetes/client/models/v1beta1_resource_pool.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -138,7 +136,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_slice.py b/kubernetes/client/models/v1beta1_resource_slice.py index 3e4cbab10b..7a108d7858 100644 --- a/kubernetes/client/models/v1beta1_resource_slice.py +++ b/kubernetes/client/models/v1beta1_resource_slice.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_slice_list.py b/kubernetes/client/models/v1beta1_resource_slice_list.py index 074a17a6c6..3241a776b6 100644 --- a/kubernetes/client/models/v1beta1_resource_slice_list.py +++ b/kubernetes/client/models/v1beta1_resource_slice_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_resource_slice_spec.py b/kubernetes/client/models/v1beta1_resource_slice_spec.py index 6eea55afcb..2a02f892ad 100644 --- a/kubernetes/client/models/v1beta1_resource_slice_spec.py +++ b/kubernetes/client/models/v1beta1_resource_slice_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -273,7 +271,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_service_cidr.py b/kubernetes/client/models/v1beta1_service_cidr.py index 6126820a05..43e135f033 100644 --- a/kubernetes/client/models/v1beta1_service_cidr.py +++ b/kubernetes/client/models/v1beta1_service_cidr.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_service_cidr_list.py b/kubernetes/client/models/v1beta1_service_cidr_list.py index f2e5c7d0d4..1cad9eae34 100644 --- a/kubernetes/client/models/v1beta1_service_cidr_list.py +++ b/kubernetes/client/models/v1beta1_service_cidr_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_service_cidr_spec.py b/kubernetes/client/models/v1beta1_service_cidr_spec.py index 0d5169a8c1..b3d4cd70dd 100644 --- a/kubernetes/client/models/v1beta1_service_cidr_spec.py +++ b/kubernetes/client/models/v1beta1_service_cidr_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_service_cidr_status.py b/kubernetes/client/models/v1beta1_service_cidr_status.py index 53897196ba..ce22a17300 100644 --- a/kubernetes/client/models/v1beta1_service_cidr_status.py +++ b/kubernetes/client/models/v1beta1_service_cidr_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_variable.py b/kubernetes/client/models/v1beta1_variable.py index 9dcaab5a8f..3361bbe39a 100644 --- a/kubernetes/client/models/v1beta1_variable.py +++ b/kubernetes/client/models/v1beta1_variable.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_volume_attributes_class.py b/kubernetes/client/models/v1beta1_volume_attributes_class.py index 75b2ae91f6..ae1b5e17be 100644 --- a/kubernetes/client/models/v1beta1_volume_attributes_class.py +++ b/kubernetes/client/models/v1beta1_volume_attributes_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -190,7 +188,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta1_volume_attributes_class_list.py b/kubernetes/client/models/v1beta1_volume_attributes_class_list.py index 646ade264f..39ed1cdc8c 100644 --- a/kubernetes/client/models/v1beta1_volume_attributes_class_list.py +++ b/kubernetes/client/models/v1beta1_volume_attributes_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_allocated_device_status.py b/kubernetes/client/models/v1beta2_allocated_device_status.py index 4c0931bd9b..c55d14b5d1 100644 --- a/kubernetes/client/models/v1beta2_allocated_device_status.py +++ b/kubernetes/client/models/v1beta2_allocated_device_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -248,7 +246,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_allocation_result.py b/kubernetes/client/models/v1beta2_allocation_result.py index b81981510d..b5bd08a4c6 100644 --- a/kubernetes/client/models/v1beta2_allocation_result.py +++ b/kubernetes/client/models/v1beta2_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -131,7 +129,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_capacity_request_policy.py b/kubernetes/client/models/v1beta2_capacity_request_policy.py index 5de01c1dd7..2eadb14154 100644 --- a/kubernetes/client/models/v1beta2_capacity_request_policy.py +++ b/kubernetes/client/models/v1beta2_capacity_request_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_capacity_request_policy_range.py b/kubernetes/client/models/v1beta2_capacity_request_policy_range.py index 6e45976998..5240a0cdb4 100644 --- a/kubernetes/client/models/v1beta2_capacity_request_policy_range.py +++ b/kubernetes/client/models/v1beta2_capacity_request_policy_range.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_capacity_requirements.py b/kubernetes/client/models/v1beta2_capacity_requirements.py index 20120ff172..ea528c5489 100644 --- a/kubernetes/client/models/v1beta2_capacity_requirements.py +++ b/kubernetes/client/models/v1beta2_capacity_requirements.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -79,7 +77,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_cel_device_selector.py b/kubernetes/client/models/v1beta2_cel_device_selector.py index ac71d42d49..b51699c30c 100644 --- a/kubernetes/client/models/v1beta2_cel_device_selector.py +++ b/kubernetes/client/models/v1beta2_cel_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_counter.py b/kubernetes/client/models/v1beta2_counter.py index d09897adfa..5340ca32d6 100644 --- a/kubernetes/client/models/v1beta2_counter.py +++ b/kubernetes/client/models/v1beta2_counter.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -80,7 +78,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_counter_set.py b/kubernetes/client/models/v1beta2_counter_set.py index 2ba6f7abdd..2f3f39851b 100644 --- a/kubernetes/client/models/v1beta2_counter_set.py +++ b/kubernetes/client/models/v1beta2_counter_set.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device.py b/kubernetes/client/models/v1beta2_device.py index cfc80b81c5..060a28142c 100644 --- a/kubernetes/client/models/v1beta2_device.py +++ b/kubernetes/client/models/v1beta2_device.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -386,7 +384,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_allocation_configuration.py b/kubernetes/client/models/v1beta2_device_allocation_configuration.py index 7da14f5f7b..dbb748711a 100644 --- a/kubernetes/client/models/v1beta2_device_allocation_configuration.py +++ b/kubernetes/client/models/v1beta2_device_allocation_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_allocation_result.py b/kubernetes/client/models/v1beta2_device_allocation_result.py index cafcb10bf8..03fb64186a 100644 --- a/kubernetes/client/models/v1beta2_device_allocation_result.py +++ b/kubernetes/client/models/v1beta2_device_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_attribute.py b/kubernetes/client/models/v1beta2_device_attribute.py index e8890a7148..97c572360d 100644 --- a/kubernetes/client/models/v1beta2_device_attribute.py +++ b/kubernetes/client/models/v1beta2_device_attribute.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_capacity.py b/kubernetes/client/models/v1beta2_device_capacity.py index e8e001ad96..0b2b846b3e 100644 --- a/kubernetes/client/models/v1beta2_device_capacity.py +++ b/kubernetes/client/models/v1beta2_device_capacity.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_claim.py b/kubernetes/client/models/v1beta2_device_claim.py index eedf20ad12..3a279c6a68 100644 --- a/kubernetes/client/models/v1beta2_device_claim.py +++ b/kubernetes/client/models/v1beta2_device_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_claim_configuration.py b/kubernetes/client/models/v1beta2_device_claim_configuration.py index 07d35a687c..fb656987d8 100644 --- a/kubernetes/client/models/v1beta2_device_claim_configuration.py +++ b/kubernetes/client/models/v1beta2_device_claim_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_class.py b/kubernetes/client/models/v1beta2_device_class.py index 74645cbf61..4c4f095d2d 100644 --- a/kubernetes/client/models/v1beta2_device_class.py +++ b/kubernetes/client/models/v1beta2_device_class.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_class_configuration.py b/kubernetes/client/models/v1beta2_device_class_configuration.py index e18d2eb2da..e47ab943d2 100644 --- a/kubernetes/client/models/v1beta2_device_class_configuration.py +++ b/kubernetes/client/models/v1beta2_device_class_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_class_list.py b/kubernetes/client/models/v1beta2_device_class_list.py index 8d1e59cd8c..90cbc85e96 100644 --- a/kubernetes/client/models/v1beta2_device_class_list.py +++ b/kubernetes/client/models/v1beta2_device_class_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_class_spec.py b/kubernetes/client/models/v1beta2_device_class_spec.py index 8c906c06d3..063d93920b 100644 --- a/kubernetes/client/models/v1beta2_device_class_spec.py +++ b/kubernetes/client/models/v1beta2_device_class_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_constraint.py b/kubernetes/client/models/v1beta2_device_constraint.py index 84c6188788..29bffd7963 100644 --- a/kubernetes/client/models/v1beta2_device_constraint.py +++ b/kubernetes/client/models/v1beta2_device_constraint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_counter_consumption.py b/kubernetes/client/models/v1beta2_device_counter_consumption.py index 6e5de3d799..5751d3b223 100644 --- a/kubernetes/client/models/v1beta2_device_counter_consumption.py +++ b/kubernetes/client/models/v1beta2_device_counter_consumption.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_request.py b/kubernetes/client/models/v1beta2_device_request.py index a254789ffa..4ff49a7f4c 100644 --- a/kubernetes/client/models/v1beta2_device_request.py +++ b/kubernetes/client/models/v1beta2_device_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -134,7 +132,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_request_allocation_result.py b/kubernetes/client/models/v1beta2_device_request_allocation_result.py index 3d724ebf12..4e92496076 100644 --- a/kubernetes/client/models/v1beta2_device_request_allocation_result.py +++ b/kubernetes/client/models/v1beta2_device_request_allocation_result.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -335,7 +333,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_selector.py b/kubernetes/client/models/v1beta2_device_selector.py index d6b471a599..9bf94d4f96 100644 --- a/kubernetes/client/models/v1beta2_device_selector.py +++ b/kubernetes/client/models/v1beta2_device_selector.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_sub_request.py b/kubernetes/client/models/v1beta2_device_sub_request.py index 380cb38b3d..1af04c822a 100644 --- a/kubernetes/client/models/v1beta2_device_sub_request.py +++ b/kubernetes/client/models/v1beta2_device_sub_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -247,7 +245,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_taint.py b/kubernetes/client/models/v1beta2_device_taint.py index 0cf636b368..7da892f798 100644 --- a/kubernetes/client/models/v1beta2_device_taint.py +++ b/kubernetes/client/models/v1beta2_device_taint.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -165,7 +163,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_device_toleration.py b/kubernetes/client/models/v1beta2_device_toleration.py index dc641bdd47..5698abfb1b 100644 --- a/kubernetes/client/models/v1beta2_device_toleration.py +++ b/kubernetes/client/models/v1beta2_device_toleration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -191,7 +189,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_exact_device_request.py b/kubernetes/client/models/v1beta2_exact_device_request.py index 43de79f7b3..cad4ce5a63 100644 --- a/kubernetes/client/models/v1beta2_exact_device_request.py +++ b/kubernetes/client/models/v1beta2_exact_device_request.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -246,7 +244,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_network_device_data.py b/kubernetes/client/models/v1beta2_network_device_data.py index be24b0ca93..233168ede6 100644 --- a/kubernetes/client/models/v1beta2_network_device_data.py +++ b/kubernetes/client/models/v1beta2_network_device_data.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_opaque_device_configuration.py b/kubernetes/client/models/v1beta2_opaque_device_configuration.py index 88070e1f3c..ab0d313c1a 100644 --- a/kubernetes/client/models/v1beta2_opaque_device_configuration.py +++ b/kubernetes/client/models/v1beta2_opaque_device_configuration.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -109,7 +107,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim.py b/kubernetes/client/models/v1beta2_resource_claim.py index 5900cdfc6f..b39c628dbc 100644 --- a/kubernetes/client/models/v1beta2_resource_claim.py +++ b/kubernetes/client/models/v1beta2_resource_claim.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -186,7 +184,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py b/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py index 2ec7222076..11b3bc2ab9 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py +++ b/kubernetes/client/models/v1beta2_resource_claim_consumer_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -166,7 +164,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_list.py b/kubernetes/client/models/v1beta2_resource_claim_list.py index 2f48f31c3d..8055be4d0a 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_list.py +++ b/kubernetes/client/models/v1beta2_resource_claim_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_spec.py b/kubernetes/client/models/v1beta2_resource_claim_spec.py index 117b886c71..8d24ae4a2e 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_spec.py +++ b/kubernetes/client/models/v1beta2_resource_claim_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -77,7 +75,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_status.py b/kubernetes/client/models/v1beta2_resource_claim_status.py index 9f275f23a3..6c1e2ac969 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_status.py +++ b/kubernetes/client/models/v1beta2_resource_claim_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -133,7 +131,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_template.py b/kubernetes/client/models/v1beta2_resource_claim_template.py index c76d4a47c3..d0c52f0553 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_template.py +++ b/kubernetes/client/models/v1beta2_resource_claim_template.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_template_list.py b/kubernetes/client/models/v1beta2_resource_claim_template_list.py index e99164c4ae..682d8ee3ab 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_template_list.py +++ b/kubernetes/client/models/v1beta2_resource_claim_template_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_claim_template_spec.py b/kubernetes/client/models/v1beta2_resource_claim_template_spec.py index 6be38d7e73..ade34ccff2 100644 --- a/kubernetes/client/models/v1beta2_resource_claim_template_spec.py +++ b/kubernetes/client/models/v1beta2_resource_claim_template_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -104,7 +102,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_pool.py b/kubernetes/client/models/v1beta2_resource_pool.py index d1713cd2ee..52c04325af 100644 --- a/kubernetes/client/models/v1beta2_resource_pool.py +++ b/kubernetes/client/models/v1beta2_resource_pool.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -138,7 +136,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_slice.py b/kubernetes/client/models/v1beta2_resource_slice.py index e77b5e1388..4d958e1cc0 100644 --- a/kubernetes/client/models/v1beta2_resource_slice.py +++ b/kubernetes/client/models/v1beta2_resource_slice.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -160,7 +158,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_slice_list.py b/kubernetes/client/models/v1beta2_resource_slice_list.py index 1dd610594a..3fcf798345 100644 --- a/kubernetes/client/models/v1beta2_resource_slice_list.py +++ b/kubernetes/client/models/v1beta2_resource_slice_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v1beta2_resource_slice_spec.py b/kubernetes/client/models/v1beta2_resource_slice_spec.py index dc69b3d513..870fd0a1b5 100644 --- a/kubernetes/client/models/v1beta2_resource_slice_spec.py +++ b/kubernetes/client/models/v1beta2_resource_slice_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -273,7 +271,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_container_resource_metric_source.py b/kubernetes/client/models/v2_container_resource_metric_source.py index 6d473addef..6bb93f7948 100644 --- a/kubernetes/client/models/v2_container_resource_metric_source.py +++ b/kubernetes/client/models/v2_container_resource_metric_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_container_resource_metric_status.py b/kubernetes/client/models/v2_container_resource_metric_status.py index e649a8b075..ba9a886988 100644 --- a/kubernetes/client/models/v2_container_resource_metric_status.py +++ b/kubernetes/client/models/v2_container_resource_metric_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -136,7 +134,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_cross_version_object_reference.py b/kubernetes/client/models/v2_cross_version_object_reference.py index 3d6b12996f..3f56427cee 100644 --- a/kubernetes/client/models/v2_cross_version_object_reference.py +++ b/kubernetes/client/models/v2_cross_version_object_reference.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -137,7 +135,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_external_metric_source.py b/kubernetes/client/models/v2_external_metric_source.py index ede3f181f3..820a5281b2 100644 --- a/kubernetes/client/models/v2_external_metric_source.py +++ b/kubernetes/client/models/v2_external_metric_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_external_metric_status.py b/kubernetes/client/models/v2_external_metric_status.py index 88790c35ee..6b669056cb 100644 --- a/kubernetes/client/models/v2_external_metric_status.py +++ b/kubernetes/client/models/v2_external_metric_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler.py index e95a59bfc4..a27c8cb2cc 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -185,7 +183,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py index 1b3cab9f8c..77b3bec39c 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_behavior.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -103,7 +101,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py index 0fdf46238b..d717fcf6b5 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_condition.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -193,7 +191,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py index 22ce4c7828..0939ef254a 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_list.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -162,7 +160,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py index abd3aad76f..ebc80abd16 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -189,7 +187,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py index 3285be2d99..8df91be8de 100644 --- a/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2_horizontal_pod_autoscaler_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -220,7 +218,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_hpa_scaling_policy.py b/kubernetes/client/models/v2_hpa_scaling_policy.py index 3cd91575f8..c869954e37 100644 --- a/kubernetes/client/models/v2_hpa_scaling_policy.py +++ b/kubernetes/client/models/v2_hpa_scaling_policy.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -138,7 +136,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_hpa_scaling_rules.py b/kubernetes/client/models/v2_hpa_scaling_rules.py index 8459ca8873..8ebda20830 100644 --- a/kubernetes/client/models/v2_hpa_scaling_rules.py +++ b/kubernetes/client/models/v2_hpa_scaling_rules.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -163,7 +161,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_metric_identifier.py b/kubernetes/client/models/v2_metric_identifier.py index b4eb29b0eb..6a595886ee 100644 --- a/kubernetes/client/models/v2_metric_identifier.py +++ b/kubernetes/client/models/v2_metric_identifier.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -106,7 +104,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_metric_spec.py b/kubernetes/client/models/v2_metric_spec.py index 12765139b5..ffdfc32f0f 100644 --- a/kubernetes/client/models/v2_metric_spec.py +++ b/kubernetes/client/models/v2_metric_spec.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -210,7 +208,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_metric_status.py b/kubernetes/client/models/v2_metric_status.py index b6a81216e2..8ddfa8436f 100644 --- a/kubernetes/client/models/v2_metric_status.py +++ b/kubernetes/client/models/v2_metric_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -210,7 +208,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_metric_target.py b/kubernetes/client/models/v2_metric_target.py index 275154ce03..cbc9eadf62 100644 --- a/kubernetes/client/models/v2_metric_target.py +++ b/kubernetes/client/models/v2_metric_target.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -164,7 +162,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_metric_value_status.py b/kubernetes/client/models/v2_metric_value_status.py index 2d8a801ec9..5a64526480 100644 --- a/kubernetes/client/models/v2_metric_value_status.py +++ b/kubernetes/client/models/v2_metric_value_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -135,7 +133,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_object_metric_source.py b/kubernetes/client/models/v2_object_metric_source.py index a41a8f2555..d8f71935e1 100644 --- a/kubernetes/client/models/v2_object_metric_source.py +++ b/kubernetes/client/models/v2_object_metric_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -132,7 +130,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_object_metric_status.py b/kubernetes/client/models/v2_object_metric_status.py index 7b71fa5d7d..581bda69d1 100644 --- a/kubernetes/client/models/v2_object_metric_status.py +++ b/kubernetes/client/models/v2_object_metric_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -132,7 +130,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_pods_metric_source.py b/kubernetes/client/models/v2_pods_metric_source.py index 4ebe0334c4..d7139f94e1 100644 --- a/kubernetes/client/models/v2_pods_metric_source.py +++ b/kubernetes/client/models/v2_pods_metric_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_pods_metric_status.py b/kubernetes/client/models/v2_pods_metric_status.py index b7aed9d273..369798dc87 100644 --- a/kubernetes/client/models/v2_pods_metric_status.py +++ b/kubernetes/client/models/v2_pods_metric_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -105,7 +103,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_resource_metric_source.py b/kubernetes/client/models/v2_resource_metric_source.py index 7197a23284..1296efea6d 100644 --- a/kubernetes/client/models/v2_resource_metric_source.py +++ b/kubernetes/client/models/v2_resource_metric_source.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/v2_resource_metric_status.py b/kubernetes/client/models/v2_resource_metric_status.py index e962bb99db..3036884e7b 100644 --- a/kubernetes/client/models/v2_resource_metric_status.py +++ b/kubernetes/client/models/v2_resource_metric_status.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -107,7 +105,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index 17387e9d64..29eacd267b 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -13,8 +13,6 @@ import pprint import re # noqa: F401 -import six - from kubernetes.client.configuration import Configuration @@ -410,7 +408,7 @@ def to_dict(self): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.openapi_types): + for attr, _ in self.openapi_types.items(): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py index bb97dfe3c7..9c0639bea5 100644 --- a/kubernetes/client/rest.py +++ b/kubernetes/client/rest.py @@ -19,9 +19,7 @@ import ssl import certifi -# python 2 and python 3 compatibility library -import six -from six.moves.urllib.parse import urlencode +from urllib.parse import urlencode import urllib3 from kubernetes.client.exceptions import ApiException, ApiValueError @@ -145,7 +143,7 @@ def request(self, method, url, query_params=None, headers=None, timeout = None if _request_timeout: - if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 + if isinstance(_request_timeout, (int, )): # noqa: E501,F821 timeout = urllib3.Timeout(total=_request_timeout) elif (isinstance(_request_timeout, tuple) and len(_request_timeout) == 2): @@ -226,10 +224,7 @@ def request(self, method, url, query_params=None, headers=None, if _preload_content: r = RESTResponse(r) - # In the python 3, the response.data is bytes. - # we need to decode it to string. - if six.PY3: - r.data = r.data.decode('utf8') + r.data = r.data.decode('utf8') # log response body logger.debug("response body: %s", r.data) diff --git a/kubernetes/e2e_test/test_client.py b/kubernetes/e2e_test/test_client.py index 15689291e5..21da9e2c15 100644 --- a/kubernetes/e2e_test/test_client.py +++ b/kubernetes/e2e_test/test_client.py @@ -19,7 +19,7 @@ import time import unittest import uuid -import six + import io import gzip @@ -30,12 +30,9 @@ from kubernetes.stream.ws_client import ERROR_CHANNEL from kubernetes.client.rest import ApiException -import six.moves.urllib.request as urllib_request +import urllib.request as urllib_request -if six.PY3: - from http import HTTPStatus -else: - import httplib +from http import HTTPStatus def short_uuid(): @@ -88,8 +85,7 @@ def test_pod_apis(self): resp = api.read_namespaced_service_account(name='default', namespace='default') except ApiException as e: - if (six.PY3 and e.status != HTTPStatus.NOT_FOUND) or ( - six.PY3 is False and e.status != httplib.NOT_FOUND): + if e.status != HTTPStatus.NOT_FOUND: print('error: %s' % e) self.fail( msg="unexpected error getting default service account") @@ -220,8 +216,7 @@ def test_exit_code(self): resp = api.read_namespaced_service_account(name='default', namespace='default') except ApiException as e: - if (six.PY3 and e.status != HTTPStatus.NOT_FOUND) or ( - six.PY3 is False and e.status != httplib.NOT_FOUND): + if e.status != HTTPStatus.NOT_FOUND: print('error: %s' % e) self.fail( msg="unexpected error getting default service account") diff --git a/requirements.txt b/requirements.txt index 01522cd689..1dbe29677d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ certifi>=14.05.14 # MPL -six>=1.9.0 # MIT python-dateutil>=2.5.3 # BSD setuptools>=21.0.0 # PSF/ZPL pyyaml>=5.4.1 # MIT