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/22 15:00:28 UTC

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

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



##########
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:
       why are you doing the import in this way?




----------------------------------------------------------------
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