Skip to content

Commit

Permalink
CHORE: Move dictionary inserts to its definition (moja-global#50)
Browse files Browse the repository at this point in the history
Signed-off-by: Rajiv Ranjan Singh <[email protected]>
  • Loading branch information
iamrajiv authored Feb 24, 2022
1 parent 00f82cb commit f1063fc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
11 changes: 5 additions & 6 deletions layered/cloud-run/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,11 @@ def generate_download_signed_url_v4(project_dir):
method="GET",
)

url = {}
url["input"] = url_input
url["output"] = url_output
url[
"message"
] = "These links are valid only upto 30 mins. Incase the links expire, you may create a new request."
url = {
"input": url_input,
"output": url_output,
"message": "These links are valid only upto 30 mins. Incase the links expire, you may create a new request.",
}
return url


Expand Down
11 changes: 5 additions & 6 deletions layered/compute-engine/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,11 @@ def generate_download_signed_url_v4(project_dir):
method="GET",
)

url = {}
url["input"] = url_input
url["output"] = url_output
url[
"message"
] = "These links are valid only upto 30 mins. Incase the links expire, you may create a new request."
url = {
"input": url_input,
"output": url_output,
"message": "These links are valid only upto 30 mins. Incase the links expire, you may create a new request.",
}
return url


Expand Down
11 changes: 5 additions & 6 deletions layered/ingress/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,11 @@ def generate_download_signed_url_v4(project_dir):
method="GET",
)

url = {}
url["input"] = url_input
url["output"] = url_output
url[
"message"
] = "These links are valid only upto 30 mins. Incase the links expire, you may create a new request."
url = {
"input": url_input,
"output": url_output,
"message": "These links are valid only upto 30 mins. Incase the links expire, you may create a new request.",
}
return url


Expand Down

0 comments on commit f1063fc

Please sign in to comment.