File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ def main():
241241 "test_servers" : test_servers .model_construct (** t .__dict__ ),
242242 "release_notes" : release_notes .model_construct (** config_obj ),
243243 "deploy_acs" : deploy_acs .model_construct (** t .__dict__ ),
244- "recognize" : RecognizeCommand (), # Use the dummy subcommand
244+ "recognize" : tyro . conf . subcommand (),
245245 }
246246 )
247247
@@ -272,7 +272,7 @@ def main():
272272 deploy_acs_func (updated_config )
273273 elif type (config ) is test or type (config ) is test_servers :
274274 test_common_func (config )
275- elif isinstance (config , RecognizeCommand ) :
275+ elif type (config ) is tyro . conf . subcommand :
276276 recognize_func ()
277277 else :
278278 raise Exception (f"Unknown command line type '{ type (config ).__name__ } '" )
You can’t perform that action at this time.
0 commit comments