def count_unbound()

in flowtorch/lazy.py [0:0]


def count_unbound(sig: inspect.Signature) -> int:
    return len(
        [p for p, v in sig.parameters.items() if v.default is inspect.Parameter.empty]
    )