src/orion/core/cli/db_main.py
def load_modules_parser(subparsers):
    """Search through the `cli.db` folder for any module containing a `get_parser` function"""
    modules = module_import.load_modules_in_path(
        "orion.core.cli.db", lambda m: hasattr(m, "add_subparser")
    )

    for module in modules:
        get_parser = getattr(module, "add_subparser")
        get_parser(subparsers)
Search through the `cli.db` folder for any module containing a `get_parser` function
Search through the `cli.db` folder for any module containing a `get_parser` function
Search through the ` cli . db ` folder for any module containing a ` get_parser ` function
def load_modules_parser(subparsers):
    modules = module_import.load_modules_in_path(
        "orion.core.cli.db", lambda m: hasattr(m, "add_subparser")
    )
    for module in modules:
        get_parser = getattr(module, "add_subparser")
        get_parser(subparsers)
def load_modules_parser ( subparsers ) : modules = module_import . load_modules_in_path ( "orion.core.cli.db" , lambda m : hasattr ( m , "add_subparser" ) ) for module in modules : get_parser = getattr ( module , "add_subparser" ) get_parser ( subparsers )
Search through the `cli.db` folder for any module containing a `get_parser` function
Search through the ` cli . db ` folder for any module containing a ` get_parser ` function
"""Search through the `cli.db` folder for any module containing a `get_parser` function"""
subparsers