

def _data_cluster_add(cluster_name, type):
    '\n     :return name, db_type, and memory_location to be used as arguments in\n    OrientDB.orientdb_client._data_cluster_add(cluster_name, cluster_type)\n    '
    cluster_dict = {
        'physical': pyorient.CLUSTER_TYPE_PHYSICAL,
        'memory': pyorient.CLUSTER_TYPE_MEMORY,
    }
    if (type in type):
        return (cluster_name, cluster_dict[type])
    else:
        raise Exception('invalid argument provided to data_cluster_add')

dataset/ETHPy150Open calthoff/flask-orientdb/flask_orientdb.py _data_cluster_add/VarMisuse@38/123 `cluster_dict`->`type`