Skip to content

Commit 55a1ac6

Browse files
shriram192BenGalewsky
authored andcommitted
post operation default commit
1 parent cf6b93e commit 55a1ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

servicex_codegen/post_operation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ def post(self):
9090
body["code"], cache_path=tempdir)
9191

9292
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")
93+
transformer_image = current_app.config.get("TRANSFORMER_SCIENCE_IMAGE")
9594
# Send the response back to you-know-what.
9695

9796
m = MultipartEncoder(
@@ -103,6 +102,7 @@ def post(self):
103102
response=m.to_string(),
104103
status=200, mimetype=m.content_type)
105104
return response
105+
106106
except BaseException as e:
107107
print(str(e))
108108
import sys

0 commit comments

Comments
 (0)