INNER CODE UNIT · Python

unknown

IvanMurzak/Unity-MCP · .github/scripts/chain_feed.py:609

    unknown = sorted(names - set(values))
    if unknown:
        raise Refusal(
            "unknown placeholder(s) %s in %r" % (", ".join("{%s}" % u for u in unknown), command)
        )
    empty = sorted(name for name in names if not values[name])
    if empty:
        raise Refusal(
            "placeholder(s) %s in %r have no value in this lock"
            % (", ".join("{%s}" % e for e in empty), command)
        )
    quote = quote or (lambda _name, value: value)
    return _PLACEHOLDER_RE.sub(lambda m: quote(m.group(1), values[m.group(1)]), command)


def topological_order(node_ids):
    """Producers before consumers over RECIPES; ties break on node id (plan reproducibility)."""
    scope = set(node_ids)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…