From 89824608f872e2a5696eddcda28a02a265657bdb Mon Sep 17 00:00:00 2001 From: jochs Date: Mon, 22 Jul 2024 10:31:11 -0400 Subject: [PATCH] trailing commas --- .../type_declaration_handler/enum_generator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generators/python/src/fern_python/generators/pydantic_model/type_declaration_handler/enum_generator.py b/generators/python/src/fern_python/generators/pydantic_model/type_declaration_handler/enum_generator.py index 575059f59e1..ecf2c890a6f 100644 --- a/generators/python/src/fern_python/generators/pydantic_model/type_declaration_handler/enum_generator.py +++ b/generators/python/src/fern_python/generators/pydantic_model/type_declaration_handler/enum_generator.py @@ -51,15 +51,15 @@ def generate(self) -> None: AST.ClassReference( import_=AST.ReferenceImport(module=AST.Module.built_in(("enum",))), qualified_name_excluding_import=("StrEnum",), - ), - ], + ) + ] else: extends = [ AST.ClassReference( import_=AST.ReferenceImport(module=AST.Module.built_in(("enum",))), qualified_name_excluding_import=("StrEnum",), - ), - ], + ) + ] enum_class = AST.ClassDeclaration( name=self._get_class_name(), extends=extends,