Skip to content

Commit 7c7c156

Browse files
Prajwal  Kiran KumarPrajwal  Kiran Kumar
authored andcommitted
directly read from env var
1 parent e9883e1 commit 7c7c156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servicex_codegen/post_operation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def post(self):
9393
zip_data = self.stream_generated_code(generated_code_result)
9494
# code gen transformer returns the default transformer image mentioned in
9595
# the config file
96-
transformer_image = current_app.config.get("TRANSFORMER_SCIENCE_IMAGE")
96+
transformer_image = os.environ.get('TRANSFORMER_SCIENCE_IMAGE')
9797

9898
# MultipartEncoder library takes multiple types of data fields and merge
9999
# them into a multipart mime data type

0 commit comments

Comments
 (0)