You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
jacobeatsspam
changed the title
pyproject.toml doesn't seem to work
Use pyproject.toml for CLI parameter default
Jul 22, 2024
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
.The text was updated successfully, but these errors were encountered: