From b7f5cb28d2f5187fb8c4dfd5697070a7cca1ba56 Mon Sep 17 00:00:00 2001 From: Ehigie Aito Date: Mon, 31 Jul 2023 12:24:58 +0100 Subject: [PATCH] Swap out pydantic settings (#184) --- fastapi_template/cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fastapi_template/cli.py b/fastapi_template/cli.py index 7647fb4..58059f4 100644 --- a/fastapi_template/cli.py +++ b/fastapi_template/cli.py @@ -312,6 +312,12 @@ def checker(ctx: BuilderContext) -> bool: multiselect=True, before_ask=do_not_ask_features_if_quite, entries=[ + MenuEntry( + code="pydanticv1", + cli_name="pydantic-v1", + user_view="Use older version of pydantic", + description="Use pydantic version ^1 instead of ^2", + ), MenuEntry( code="enable_redis", cli_name="redis",