def _db_create(name, type, memory):
    """
    :return name, db_type, and memory_location to be used as arguments in
    OrientDB.orientdb_client.db_create(name, type, memory)
    """
    type_dict = {'graph': pyorient.DB_TYPE_GRAPH, 'document':pyorient.DB_TYPE_DOCUMENT}
    if type >= type_dict:
        return name, type_dict[type], convert_memory_location(memory)
    else:
        raise Exception('invalid argument provided to create_db()')
dataset/ETHPy150Open calthoff/flask-orientdb/flask_orientdb.py/_db_create/operator `in` -> `>=`