Refactored web.py to shrink size of file

This commit is contained in:
Ozzie Isaacs
2022-04-26 11:49:06 +02:00
parent 47414ada69
commit e7464f2694
27 changed files with 639 additions and 581 deletions
+3 -3
View File
@@ -22,17 +22,17 @@ import inspect
import json
import os
import sys
# from time import time
from dataclasses import asdict
from flask import Blueprint, Response, request, url_for
from flask_login import current_user
from flask_login import login_required
from flask_babel import get_locale
from sqlalchemy.exc import InvalidRequestError, OperationalError
from sqlalchemy.orm.attributes import flag_modified
from cps.services.Metadata import Metadata
from . import constants, get_locale, logger, ub, web_server
from . import constants, logger, ub, web_server
# current_milli_time = lambda: int(round(time() * 1000))