ez_docker/plugins/module_utils/label/common.py
2024-12-25 16:55:49 +01:00

21 lines
445 B
Python

# Copyright: (c) 2024, Luca Bilke <luca@bil.ke>
# MIT License (see LICENSE)
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Callable
if TYPE_CHECKING:
from ansible_collections.ssnailed.ez_compose.plugins.module_utils.common import (
State,
)
BASE_ARGS: dict[str, Any] = {}
def run_helper(
state: State,
helper: Callable[[State], State] = lambda _: _,
) -> State:
return helper(state)