Type Stubs for flask-smorest
Project description
types-smorest
This is a package containing type annotations for flask-smorest.
Installing:
Simply run the following in the environment in which you want to install this package:
# install types-smorest
$ python -m pip install types-smorest
or add it to your requirements file.
Developing
This is a partial stub package, only covering a part of the functions and objects available in flask-smorest
.
Contributions (both in adding stubs for more functions, or keeping up to date with flask-smorest
itself) are welcome.
All the formatting is done using pre-commit. To use this, run the following:
# install pre-commit
$ python -m pip install pre-commit
# Set up the hooks (so pre-commit automatically runs when you do a commit)
$ cd root/directory/of/the/pulled/repository
$ pre-commit install
# This will run automatically whenever a commit is created
# To run it manually, use:
$ pre-commit run --all-files
Versioning
The first 3 segments of the types-smorest
version are the same as the flask-smorest
version for which they are
created, with the 4th segment being used for stub versioning.
For example, flask-smorest
v1.2.3 can use types-smorest
v1.2.3.X (v1.2.3.0, v1.2.3.1, etc.)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.