nopaque/app/models/__init__.py

20 lines
472 B
Python
Raw Normal View History

2024-03-06 12:20:02 +00:00
from .avatar import *
from .corpus_file import *
from .corpus_follower_association import *
from .corpus_follower_role import *
from .corpus import *
from .job_input import *
from .job_result import *
from .job import *
from .role import *
from .spacy_nlp_pipeline_model import *
from .tesseract_ocr_pipeline_model import *
from .token import *
from .user import *
2024-03-07 14:49:04 +00:00
from app import login
2024-03-06 12:20:02 +00:00
@login.user_loader
def load_user(user_id):
return User.query.get(int(user_id))