Skip to content

Commit

Permalink
update runtime.py request data
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <guillaume.falourd@zup.com.br>
  • Loading branch information
GuillaumeFalourd committed Sep 29, 2023
1 parent 847444e commit b78c955
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@
"versionTag": VERSION_TAG,
}
)
print("Request Data:", request_data)

request_data = json.loads(request_data)
manifesto_data = json.dumps({"manifesto": manifesto_dict})
merged_dict = {**request_data, **manifesto_data}
merged_dict = {**request_data, "manifesto": manifesto_dict}

print("Merge dict", merged_dict)

request_data = json.dumps(merged_dict)

print("Deploy request", request_data)
print("Deploy Request Data", request_data)

deploy_headers = {"Authorization": f"Bearer {access_token}"}

Expand Down

0 comments on commit b78c955

Please sign in to comment.