We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6b93e commit 55a1ac6Copy full SHA for 55a1ac6
servicex_codegen/post_operation.py
@@ -90,8 +90,7 @@ def post(self):
90
body["code"], cache_path=tempdir)
91
92
zip_data = self.stream_generated_code(generated_code_result)
93
- transformer_image = body["transformer_image"] if "transformer_image" in body else current_app.config.get(
94
- "TRANSFORMER_SCIENCE_IMAGE")
+ transformer_image = current_app.config.get("TRANSFORMER_SCIENCE_IMAGE")
95
# Send the response back to you-know-what.
96
97
m = MultipartEncoder(
@@ -103,6 +102,7 @@ def post(self):
103
102
response=m.to_string(),
104
status=200, mimetype=m.content_type)
105
return response
+
106
except BaseException as e:
107
print(str(e))
108
import sys
0 commit comments