浏览代码

removing unused declarations

joel
Simon Bowie 1年前
父节点
当前提交
e8024a1321
共有 8 个文件被更改,包括 0 次插入10 次删除
  1. +0
    -1
      web/app/book.py
  2. +0
    -1
      web/app/create.py
  3. +0
    -1
      web/app/main.py
  4. +0
    -2
      web/app/models.py
  5. +0
    -1
      web/app/practice.py
  6. +0
    -2
      web/app/relationships.py
  7. +0
    -1
      web/app/schemas.py
  8. +0
    -1
      web/app/tool.py

+ 0
- 1
web/app/book.py 查看文件

@@ -11,7 +11,6 @@ from flask_login import login_required, current_user
from .models import Resource
from .resources import *
from .relationships import *
from werkzeug.exceptions import abort
from . import db
import os


+ 0
- 1
web/app/create.py 查看文件

@@ -12,7 +12,6 @@ from .models import Resource
from .models import Relationship
from .resources import *
from .relationships import *
from werkzeug.exceptions import abort
from . import db
import os


+ 0
- 1
web/app/main.py 查看文件

@@ -8,7 +8,6 @@

from flask import Blueprint, render_template
from flask_login import login_required, current_user
from . import db
from .models import Resource
from sqlalchemy.sql import func
import markdown

+ 0
- 2
web/app/models.py 查看文件

@@ -8,9 +8,7 @@

from flask_login import UserMixin
from . import db
from . import ma
from datetime import datetime
from marshmallow import Schema

# table for users
class User(UserMixin, db.Model):

+ 0
- 1
web/app/practice.py 查看文件

@@ -11,7 +11,6 @@ from flask_login import login_required, current_user
from .models import Resource
from .resources import *
from .relationships import *
from werkzeug.exceptions import abort
from . import db
import os


+ 0
- 2
web/app/relationships.py 查看文件

@@ -5,10 +5,8 @@
# @purpose: functions for relationships
# @acknowledgements:

from flask import Blueprint, render_template, request, flash, redirect, url_for
from .models import Resource
from .models import Relationship
from werkzeug.exceptions import abort
from . import db

# function to retrieve linked resources

+ 0
- 1
web/app/schemas.py 查看文件

@@ -8,7 +8,6 @@
# https://stackoverflow.com/questions/59721478/serializing-sqlalchemy-with-marshmallow

from . import ma
from marshmallow import Schema

# schema for JSON transformation of User table via Marshmallow
class UserSchema(ma.Schema):

+ 0
- 1
web/app/tool.py 查看文件

@@ -11,7 +11,6 @@ from flask_login import login_required, current_user
from .models import Resource
from .resources import *
from .relationships import *
from werkzeug.exceptions import abort
from . import db
import os


正在加载...
取消
保存