Skip to content
Myr

:bug: Fix getting callback from instance creation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by Sebastián Ramírez · parent d0ee82b · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:typer/main.py+1 added
224 unmodified lines
225 click_completion.init()226 click_install_param, click_show_param = get_install_completion_arguments()227 if (228 typer_instance.registered_callback229 or typer_instance.info.callback230 or typer_instance.registered_groups231 or len(typer_instance.registered_commands) > 1232 ):233 # Create a Group
500 unmodified lines