Skip to content

Commit f1fc94b

Browse files
committed
fix(linter) add linting exception to upstream code
1 parent 2a09eae commit f1fc94b

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
@@ -398,7 +398,7 @@ class ApiClient:
398398
# and attributes which value is not None.
399399
# Convert attribute name to json key in
400400
# model definition for request.
401-
if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')):
401+
if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): # noqa: B009
402402
obj_dict = obj.to_dict()
403403
else:
404404
obj_dict = obj.__dict__

0 commit comments

Comments
 (0)