A API using Python Programming Language and Flask Framework
Install Python from https://www.python.org/downloads/
Run the command pip3 install Flask
pip3 install flask_sqlalchemy
To run the project, type python app.py
on the command line
Problem: Instance of 'SQLAlchemy' has no 'Column' memberpylint(no-member)
Solution:
1. If you are using vsCode, open Command Palette
2. Type `settings.json`
3. Put the code below in the end of file:
"python.linting.pylintArgs": [
"--load-plugins",
"pylint-flask"
]
> python
>>> from BookModel import db
>>> db.create_all()
>>> exit()