def ensure_larger_than(target: int | float) -> t.Callable[[int | float], bool]:
    """Ensure that given value is (lower, inf]"""

    def v(value: int | float) -> bool:
        return value > target

    return v
Ensure that given value is (lower, inf]
src/bentoml/_internal/configuration/helpers.py