Let's see whether you can answer the following questions correctly:
- Which of the following commands start the Flask development server and the Flask application, and makes it listen on every interface on port
5000
?:flask run -h 0.0.0.0
flask run -p 0.0.0.0 -h 5000
flask run -p 0.0.0.0
Flask-Migrate
is:- A lightweight library for converting complex datatypes to and from native Python datatypes.
- A library that uses the Alembic package to handle SQLAlchemy database migrations for Flask applications.
- A library that replaces SQLAlchemy to run queries on PostgreSQL.
- Marshmallow is:
- A lightweight library for converting complex datatypes to and from native Python datatypes.
- An ORM.
- A lightweight web framework that replaces Flask.
- SQLAlchemy is:
- A lightweight library for converting complex datatypes to and from native Python datatypes.
- An ORM.
- A lightweight web framework that replaces Flask.
- The
marshmallow.pre_load
decorator:- Registers a method to run after any instance of the
Resource
class...
- Registers a method to run after any instance of the