From f1fc94bc7aa33daebb4ba67ab9942b2c03fc101e Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Tue, 12 May 2026 11:23:15 +0200 Subject: [PATCH] fix(linter) add linting exception to upstream code --- languages/python/templates/api_client.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/python/templates/api_client.mustache b/languages/python/templates/api_client.mustache index 3ec1946..52c92d3 100644 --- a/languages/python/templates/api_client.mustache +++ b/languages/python/templates/api_client.mustache @@ -398,7 +398,7 @@ class ApiClient: # and attributes which value is not None. # Convert attribute name to json key in # model definition for request. - if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): + if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')): # noqa: B009 obj_dict = obj.to_dict() else: obj_dict = obj.__dict__