Commit 3a0ef148 authored by Ziirish's avatar Ziirish

fix: use local imports instead of global import to reduce dependencies on 'slim' packages

parent 5f1cb8e7
......@@ -10,7 +10,6 @@
import time
import datetime
from flask import g
from functools import wraps
......@@ -31,6 +30,7 @@ def browser_cache(expires=None):
"""
from wsgiref.handlers import format_date_time
from flask import g
from flask_restplus.utils import unpack
def cache_decorator(view):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment