From 6a06a340d0300997496a9071b6350e84aef23ea3 Mon Sep 17 00:00:00 2001 From: Hiroki Teranishi Date: Mon, 29 Jul 2024 19:28:50 +0900 Subject: [PATCH] Fix target_python_version. --- fastapi_code_generator/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fastapi_code_generator/__main__.py b/fastapi_code_generator/__main__.py index f0055bf..208d31d 100644 --- a/fastapi_code_generator/__main__.py +++ b/fastapi_code_generator/__main__.py @@ -140,6 +140,7 @@ def generate_code( data_model_field_type=data_model_types.field_model, data_type_manager_type=data_model_types.data_type_manager, dump_resolve_reference_action=data_model_types.dump_resolve_reference_action, + target_python_version=python_version, ) with chdir(output_dir):