Skip to content

Commit cc68ad2

Browse files
committed
fix(py) ignore linter warning in template
1 parent 0a75c08 commit cc68ad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

languages/python/templates/api_client.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class ApiClient:
394394
# and attributes which value is not None.
395395
# Convert attribute name to json key in
396396
# model definition for request.
397-
if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')):
397+
if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): # noqa: B009
398398
obj_dict = obj.to_dict()
399399
else:
400400
obj_dict = obj.__dict__

0 commit comments

Comments
 (0)