diff --git a/python/sdk/client/api_client.py b/python/sdk/client/api_client.py index 06b954edb..8ec98010f 100644 --- a/python/sdk/client/api_client.py +++ b/python/sdk/client/api_client.py @@ -50,7 +50,7 @@ class ApiClient(object): PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types NATIVE_TYPES_MAPPING = { 'int': int, - 'long': int if six.PY3 else long, # noqa: F821 + 'long': int if six.PY3 else int, # noqa: F821 'float': float, 'str': str, 'bool': bool, diff --git a/python/sdk/client/models/free_form_object.py b/python/sdk/client/models/free_form_object.py index 1d94ef076..cd8258ec2 100644 --- a/python/sdk/client/models/free_form_object.py +++ b/python/sdk/client/models/free_form_object.py @@ -30,12 +30,12 @@ class FreeFormObject(dict): swagger_types = { } if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) + swagger_types.update(dict.swagger_types) # type: ignore[attr-defined] attribute_map = { } if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) + attribute_map.update(dict.attribute_map) # type: ignore[attr-defined] def __init__(self, *args, **kwargs): # noqa: E501 """FreeFormObject - a model defined in Swagger""" # noqa: E501