Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1from flask import Flask 

2from flask_sqlalchemy import SQLAlchemy 



5def create_tables(app: Flask, db: SQLAlchemy): 

6 # noinspection PyUnresolvedReferences 

7 from stockstert.db.auth.User import User 

8 # noinspection PyUnresolvedReferences 

9 from stockstert.db.auth.ApiKey import ApiKey 


11 with app.app_context(): 

12 db.create_all()