Changed deleteme to div

This commit is contained in:
ebolam
2022-09-16 19:50:57 -04:00
parent ec8435b6ee
commit e89c59fe92
3 changed files with 18 additions and 4 deletions

View File

@@ -470,6 +470,14 @@ def emit(*args, **kwargs):
except AttributeError:
return socketio.emit(*args, **kwargs)
#replacement for tpool.execute to maintain request contexts
def replacement_tpool_execute(function, *args, **kwargs):
def replacement_tpool_execute_2(function, queue, *args, **kwargs):
return_data = function(*args, **kwargs)
queue.put(return_data)
# marshmallow/apispec setup
from apispec import APISpec
from apispec.ext.marshmallow import MarshmallowPlugin