We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inject
inject(Path("models/README.md"))
paracelsus/cli.py", line 181, in inject format=format.value, ^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'value'
The issue is that the default uses Formats.mermaid.value and then again, .value is attempted to be used below.
Formats.mermaid.value
.value
If I can propose a fix, set the default to the correct type, Formats.mermaid.
Formats.mermaid
The text was updated successfully, but these errors were encountered:
Pushing it to .value is a direct work around for another bug, where if you reference the field itself then the help documentation ends up being wrong.
Is your goal to allow the function to be called without the typer interface? As in, you want to programmatically call those functions?
Sorry, something went wrong.
Bingo. And I arrived at this need because #21
No branches or pull requests
The issue is that the default uses
Formats.mermaid.value
and then again,.value
is attempted to be used below.If I can propose a fix, set the default to the correct type,
Formats.mermaid
.The text was updated successfully, but these errors were encountered: