Skip to content

Commit

Permalink
refactor: database_dsn_option should return two different variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
SteBaum committed Jun 11, 2024
1 parent fb59cdb commit 1767a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdp/cli/params/database_dsn_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def database_dsn_option(

def decorator(fn: FC) -> FC:
return click.option(
"db_engine",
"db_engine" if create_engine else "database_dsn",
"--database-dsn",
envvar="TDP_DATABASE_DSN",
required=True,
Expand Down

0 comments on commit 1767a10

Please sign in to comment.