def METHOD_NAME(uri, schema):
    engine = create_engine(uri, echo=True)
    res = engine.execute('select nspname from pg_namespace').fetchall()
    db_list = []
    for row in res:
        for item in row:
            db_list.append(item)
    return db_list