Skip to content
New issue

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

🐛 Fix default value handling in parameter help extraction when rich is installed #1120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mattmess1221
Copy link

Fixes #465

Improves consistency with Typer(rich_markup_mode=None) (TyperArgument.get_help_record), which does not print the default value if it is None.

mattmess1221 and others added 2 commits January 14, 2025 13:30
…s installed

Fixes fastapi#465

Improves consitency with typer/core.py TyperArgument.get_help_record, which does not print the default value if it is None.
@svlandeg svlandeg added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove [default: None] for arguments and required options
2 participants