Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Krithika Sundararajan committed Nov 28, 2023
1 parent ebcba3d commit 9aecb18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/sdk/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions python/sdk/client/models/free_form_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aecb18

Please sign in to comment.