File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 128
128
called_from_module ,
129
129
get_usage_script ,
130
130
is_method ,
131
- load_command_extensions ,
131
+ _load_command_extensions ,
132
132
traceback_config ,
133
133
with_typehint ,
134
134
)
@@ -2869,7 +2869,7 @@ def __init__(
2869
2869
** kwargs ,
2870
2870
):
2871
2871
assert self .typer_app .info .name
2872
- load_command_extensions (self .typer_app .info .name )
2872
+ _load_command_extensions (self .typer_app .info .name )
2873
2873
_add_common_initializer (self )
2874
2874
_resolve_help (self )
2875
2875
Original file line number Diff line number Diff line change 24
24
"get_current_command" ,
25
25
"with_typehint" ,
26
26
"register_command_extensions" ,
27
- "load_command_extensions" ,
28
27
"called_from_module" ,
28
+ "called_from_command_definition" ,
29
29
]
30
30
31
31
@@ -142,7 +142,7 @@ def ready(self):
142
142
_command_extensions [command ].append (package )
143
143
144
144
145
- def load_command_extensions (command : str ) -> int :
145
+ def _load_command_extensions (command : str ) -> int :
146
146
"""
147
147
Load any extensions for the given command by loading the registered
148
148
modules in registration order.
You can’t perform that action at this time.
0 commit comments