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():
181
181
182
182
@dataclass
183
183
class RecognizeCommand :
184
- """Dummy subcommand for 'recognize' that requires no parameters."""
184
+ """Dummy subcommand for 'recognize' with no parameters."""
185
185
186
186
pass
187
187
@@ -241,7 +241,7 @@ def main():
241
241
"test_servers" : test_servers .model_construct (** t .__dict__ ),
242
242
"release_notes" : release_notes .model_construct (** config_obj ),
243
243
"deploy_acs" : deploy_acs .model_construct (** t .__dict__ ),
244
- "recognize" : tyro . conf . subcommand (),
244
+ "recognize" : RecognizeCommand (),
245
245
}
246
246
)
247
247
@@ -272,7 +272,7 @@ def main():
272
272
deploy_acs_func (updated_config )
273
273
elif type (config ) is test or type (config ) is test_servers :
274
274
test_common_func (config )
275
- elif type (config ) is tyro . conf . subcommand :
275
+ elif type (config ) is RecognizeCommand :
276
276
recognize_func ()
277
277
else :
278
278
raise Exception (f"Unknown command line type '{ type (config ).__name__ } '" )
You can’t perform that action at this time.
0 commit comments