diff --git a/src/pydal2sql/cli.py b/src/pydal2sql/cli.py index ac6cba8..dbe61ea 100644 --- a/src/pydal2sql/cli.py +++ b/src/pydal2sql/cli.py @@ -74,7 +74,6 @@ def create( """ dialect = db_type.value if db_type else dialect.value if dialect else None - config = state.update_config( magic=magic, noop=noop, diff --git a/src/pydal2sql/typer_support.py b/src/pydal2sql/typer_support.py index b852c2b..361fb28 100644 --- a/src/pydal2sql/typer_support.py +++ b/src/pydal2sql/typer_support.py @@ -201,7 +201,7 @@ class Config(AbstractConfig): magic: bool = False function: str = "define_tables" format: SUPPORTED_OUTPUT_FORMATS = DEFAULT_OUTPUT_FORMAT # noqa: A003 - dialect: typing.Optional[SUPPORTED_DATABASE_TYPES_WITH_ALIASES] = alias("db_type") # noqa: RUF009 + dialect: typing.Optional[SUPPORTED_DATABASE_TYPES_WITH_ALIASES] = alias("db_type") input: Optional[str] = None # noqa: A003 output: Optional[str] = None noop: bool = False