Skip to content

optimize TyperGroup.list_commands#1847

Open
Vizonex wants to merge 1 commit into
fastapi:masterfrom
Vizonex:list-commands
Open

optimize TyperGroup.list_commands#1847
Vizonex wants to merge 1 commit into
fastapi:masterfrom
Vizonex:list-commands

Conversation

@Vizonex

@Vizonex Vizonex commented Jun 19, 2026

Copy link
Copy Markdown

Pull Request

Discussion:

Description

There is a much more optimized way of going about listing commands from a dictionary and calling list() directly from a dictionary will just extract the keys as usual.

AI Disclaimer

AI transcript

Checklist

  • This PR is an obvious typo fix, or it links to a GitHub Discussion for the proposed code change.
  • I added tests for the change.
  • The new or updated tests fail on the main branch and pass on this PR.
  • Coverage stays at 100%.
  • The documentation explains the change if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants