Skip to content

Commit

Permalink
mv RequestMetadata ConsumerMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneider-vertical-relevance committed May 6, 2022
1 parent 9589f31 commit f94fdd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ def lambda_handler(event,context):

print(f'input_analyzed:\n{input_analyzed}')

consumer_metadata= request_json_body['RequestMetadata']
consumer_metadata= request_json_body['ConsumerMetadata']

print(f'consumer_metadata:\n{consumer_metadata}')

# write RequestMetadata to /tmp
# write ConsumerMetadata to /tmp

consumer_metadata_path = '/tmp/consumer_metadata.json'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def lambda_handler(event,context):
print(f'BotoAWSRequestsAuth:\n{auth}')

eval_engine_input = {
"RequestMetadata":request_json_body['RequestMetadata'],
"ConsumerMetadata":request_json_body['ConsumerMetadata'],
"InputAnalyzed":request_json_body['InputAnalyzed'],
"EvalEngineConfiguration": {
"PaCFrameworkBucket": os.environ['PaCFrameworkBucket']
Expand Down

0 comments on commit f94fdd4

Please sign in to comment.