Skip to content

Commit 7bf6e06

Browse files
authored
Fixed dummy model. (s3rius#176)
1 parent e650ff7 commit 7bf6e06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastapi_template/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ def checker(ctx: BuilderContext) -> bool:
380380
code="add_dummy",
381381
cli_name="dummy",
382382
user_view="Add dummy model",
383+
is_hidden=lambda ctx: ctx.orm == "none",
383384
description=(
384385
"This option creates {what} as an example of how to use chosen ORM.\n"
385386
"Also this option will generate you an example of {dao}.".format(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy