Это видео недоступно.
Сожалеем об этом.

How to wrap a Python Flask App in a Class | Object Oriented Programming (OOP)

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • In this episode we dive into Object Oriented Programming (OOP) with Python. In particular we show you how to wrap a Flask App in a python class. This is especially useful if you want to include Flask based APIs in your object oriented python app.
    Chapters in this video:
    0:00 - Intro and Explanation
    00:39 - Setup and Virtual Environment
    02:05 - Create Python Flask App (OOP)
    02:50 - Property Decorator, Getter and Setter
    04:09 - Constructor
    04:31 - Register Endpoints, callback function, methods
    05:54 - Implement Endpoint callback function
    06:18 - Run function of wrapped Flask App
    07:02 - Instantiate Flask Wrapper Class
    07:55 - Run Flask app from Command Line
    08:18 - Outro
    Video related links:
    - Mastering Python: www.blueantoinette.com/2023/1...
    - Conda Setup Guide: • How to create a virtua...
    - SSH into Remote VM with VS Code: • SSH into Remote VM wit...
    Please support our effort and purchase the source code of the entire RUclips Series:
    www.blueantoinette.com/produc...
    About us:
    - Homepage: www.blueantoinette.com/
    - Contact us: www.blueantoinette.com/contac...
    - Twitter: / blueantoinette_
    - Consulting Hour: www.blueantoinette.com/produc...
    Hashtags:
    #python #flask #oop #api

Комментарии • 2