File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ def recognize_func():
181181
182182@dataclass
183183class RecognizeCommand :
184- """Dummy subcommand for 'recognize' that requires no parameters."""
184+ """Dummy subcommand for 'recognize' with no parameters."""
185185
186186 pass
187187
@@ -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" : tyro . conf . subcommand (),
244+ "recognize" : RecognizeCommand (),
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 type (config ) is tyro . conf . subcommand :
275+ elif type (config ) is RecognizeCommand :
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