A blueprint for creating objects in object-oriented programming. Flask is a class. When you write app = Flask(__name__), you create an object (an instance) from that class. The class defines what methods and properties the object will have.
Flask Sequence