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