INNER CODE UNIT · Python

MlemGroupSection

iterative/mlem · mlem/cli/main.py:341

    class MlemGroupSection(MlemGroup):
        def __init__(self, *args, **kwargs):
            super().__init__(
                *args,
                section=section,
                aliases=aliases,
                is_generated_from_ext=is_generated_from_ext,
                **kwargs,
            )

    return MlemGroupSection


def mlem_group_callback(group: Typer, required: Optional[List[str]] = None):
    def decorator(f):
        @wraps(f)
        def inner(*args, **kwargs):
            ctx = click.get_current_context()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…