We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac2aca commit d316fdcCopy full SHA for d316fdc
openml/cli.py
@@ -330,7 +330,7 @@ def handle_flows(args: argparse.Namespace) -> None:
330
action = getattr(args, "flows_action", None)
331
if action is None:
332
# Print help when no subcommand is given
333
- args._parser_flows.print_help() # noqa: SLF001
+ args._parser_flows.print_help()
334
else:
335
actions[action](args)
336
@@ -451,7 +451,7 @@ def main() -> None:
451
452
args = parser.parse_args()
453
# Attach parser_flows so handle_flows can print help when no action is given
454
- args._parser_flows = parser_flows # noqa: SLF001
+ args._parser_flows = parser_flows
455
subroutines.get(args.subroutine, lambda _: parser.print_help())(args)
456
457
0 commit comments