h2o-bindings/bin/bindings.py
def enums():
    """
    Return the dictionary of H₂O enums, retrieved from data in schemas(). For each entry in the dictionary its key is
    the name of the enum, and the value is the set of all enum values.
    """
    enumset = defaultdict(set)
    for schema in schemas():
        for field in schema["fields"]:
            if field["type"] == "enum":
                enumset[field["schema_name"]].update(field["values"])
    return enumset
def enums():
    """
    Return the dictionary of H₂O enums, retrieved from data in schemas(). For each entry in the dictionary its key is
    the name of the enum, and the value is the set of all enum values.
    """
    enumset = defaultdict(set)
    for schema in schemas():
        for field in schema["fields"]:
            if field["type"] == "enum":
                enumset[field["schema_name"]].update(field["values"])
    return enumset
def enums ( ) : enumset = defaultdict ( set ) for schema in schemas ( ) : for field in schema [ "fields" ] : if field [ "type" ] == "enum" : enumset [ field [ "schema_name" ] ] . update ( field [ "values" ] ) return enumset
Return the dictionary of H₂O enums, retrieved from data in schemas(). For each entry in the dictionary its key is
    the name of the enum, and the value is the set of all enum values.
Return the dictionary of H₂O enums retrieved from data in schemas () . For each entry in the dictionary its key is the name of the enum and the value is the set of all enum values .