MCPcopy
hub / github.com/fastapi/typer / get_group

Function get_group

typer/main.py:1163–1170  ·  view source on GitHub ↗
(typer_instance: Typer)

Source from the content-addressed store, hash-verified

1161
1162
1163def get_group(typer_instance: Typer) -> TyperGroup:
1164 group = get_group_from_info(
1165 TyperInfo(typer_instance),
1166 pretty_exceptions_short=typer_instance.pretty_exceptions_short,
1167 rich_markup_mode=typer_instance.rich_markup_mode,
1168 suggest_commands=typer_instance.suggest_commands,
1169 )
1170 return group
1171
1172
1173def get_command(typer_instance: Typer) -> _click.Command:

Callers 1

get_commandFunction · 0.85

Calls 2

get_group_from_infoFunction · 0.85
TyperInfoClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…