def INT(value):  # noqa: N802
    if value is None:
        raise ValueError('None is not a valid integer')
    # TODO: check for whitespace via value != value.strip()?
    return int(value)
Ensures that the given list of rules are present in the graph, and if not
dataset/ETHPy150Open mopidy/mopidy/mopidy/mpd/protocol/__init__.py/INT--crossover with--dataset/ETHPy150Open google/anvil-build/anvil/graph.py/RuleGraph._ensure_rules_present