Skip to content

Commit d6a6b14

Browse files
committed
Remove unused import statements
1 parent a58c3c5 commit d6a6b14

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

backend/flaskr/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import os
21
from flask import Flask, request, abort, jsonify
3-
from flask_sqlalchemy import SQLAlchemy
42
from flask_cors import CORS
53
import random
64

backend/models.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import os
2-
from sqlalchemy import Column, String, Integer, create_engine
1+
from sqlalchemy import Column, String, Integer
32
from flask_sqlalchemy import SQLAlchemy
43
import json
54

@@ -17,7 +16,6 @@ def setup_db(app, database_path=database_path):
1716
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
1817
db.app = app
1918
db.init_app(app)
20-
db.create_all()
2119

2220
"""
2321
Question

0 commit comments

Comments
 (0)