You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@liminal.apache.org by GitBox <gi...@apache.org> on 2020/10/25 08:41:23 UTC

[GitHub] [incubator-liminal] aviemzur commented on a change in pull request #3: adding demo app

aviemzur commented on a change in pull request #3:
URL: https://github.com/apache/incubator-liminal/pull/3#discussion_r511566047



##########
File path: liminal/build/service/python_server/liminal_python_server.py
##########
@@ -27,7 +27,10 @@ def start_server(yml_path):
         __start_server(yaml.safe_load(stream))
 
 
+# noinspection PyUnresolvedReferences
 def __start_server(config):
+    globals()['request'] = __import__('flask').request

Review comment:
       I need the lambda below to pass request data to user code, and this was the only way I could load it and have it available when the lambda below runs.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org