about summary refs log tree commit diff
path: root/wqflask/utility/after.py
diff options
context:
space:
mode:
authorAlexander_Kabui2024-01-02 13:21:07 +0300
committerAlexander_Kabui2024-01-02 13:21:07 +0300
commit70c4201b332e0e2c0d958428086512f291469b87 (patch)
treeaea4fac8782c110fc233c589c3f0f7bd34bada6c /wqflask/utility/after.py
parent5092eb42f062b1695c4e39619f0bd74a876cfac2 (diff)
parent965ce5114d585624d5edb082c710b83d83a3be40 (diff)
downloadgenenetwork2-70c4201b332e0e2c0d958428086512f291469b87.tar.gz
merge changes
Diffstat (limited to 'wqflask/utility/after.py')
-rw-r--r--wqflask/utility/after.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/wqflask/utility/after.py b/wqflask/utility/after.py
deleted file mode 100644
index 2b560e48..00000000
--- a/wqflask/utility/after.py
+++ /dev/null
@@ -1,15 +0,0 @@
-"""
-See: http://flask.pocoo.org/docs/patterns/deferredcallbacks/#deferred-callbacks
-
-"""
-
-from flask import g
-
-from wqflask import app
-
-
-def after_this_request(f):
-    if not hasattr(g, 'after_request_callbacks'):
-        g.after_request_callbacks = []
-    g.after_request_callbacks.append(f)
-    return f