from flask import Blueprint room = Blueprint('rooms', __name__) @room.route('/') def func(): pass