From cc68ad2fae3c1697ec3ab2ed624914ecbf17c5ad Mon Sep 17 00:00:00 2001 From: Carlo Goetz Date: Fri, 13 Mar 2026 16:18:04 +0100 Subject: [PATCH] fix(py) ignore linter warning in template --- 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 64ac142..cc1f748 100644 --- a/languages/python/templates/api_client.mustache +++ b/languages/python/templates/api_client.mustache @@ -394,7 +394,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__