No matter what I try, using pyproject.toml seems to have no effect when trying to use inject, but using the same value in base works when specified in the command line.
If I can suggest a fix:
base_class_path: Annotated[
str,
typer.Argument(help="The SQLAlchemy base class used by the database to graph."),
] = PYPROJECT_SETTINGS.get("base_class_path"),
This appears to be a general problem with the CLI functions. I think it would be worth setting this defaults across the board and removing the redundant calls to get_pyproject_settings.
No matter what I try, using
pyproject.toml
seems to have no effect when trying to useinject
, but using the same value inbase
works when specified in the command line.If I can suggest a fix:
This appears to be a general problem with the CLI functions. I think it would be worth setting this defaults across the board and removing the redundant calls to
get_pyproject_settings
.