# Copyright: (c) 2024, Luca Bilke <luca@bil.ke>
# MIT License (see LICENSE)

from __future__ import annotations

from typing import TYPE_CHECKING, Callable

if TYPE_CHECKING:
    from ansible_collections.ssnailed.ez_compose.plugins.module_utils.common import (
        State,
    )


BASE_ARGS = {
    "name": {"type": "str", "required": True},
}


def run_helper(
    state: State,
    helper: Callable[[State], State] = lambda _: _,
) -> State:
    return helper(state)