diff --git a/run/service-auth/receive_test.py b/run/service-auth/receive_test.py index 88c7c51be5a4..2d20f59f3705 100644 --- a/run/service-auth/receive_test.py +++ b/run/service-auth/receive_test.py @@ -52,25 +52,35 @@ def services(): ) # Get the URL for the service - endpoint_url = subprocess.run( - [ - "gcloud", - "run", - "services", - "describe", - service_name, - "--project", - project, - "--region=us-central1", - "--format=value(status.url)", - ], - stdout=subprocess.PIPE, - check=True, - ).stdout.strip().decode() + endpoint_url = ( + subprocess.run( + [ + "gcloud", + "run", + "services", + "describe", + service_name, + "--project", + project, + "--region=us-central1", + "--format=value(status.url)", + ], + stdout=subprocess.PIPE, + check=True, + ) + .stdout.strip() + .decode() + ) - token = subprocess.run( - ["gcloud", "auth", "print-identity-token"], stdout=subprocess.PIPE, check=True - ).stdout.strip().decode() + token = ( + subprocess.run( + ["gcloud", "auth", "print-identity-token"], + stdout=subprocess.PIPE, + check=True, + ) + .stdout.strip() + .decode() + ) yield endpoint_url, token diff --git a/run/service-auth/requirements.txt b/run/service-auth/requirements.txt index 0b4695564424..e7b7c0ef8be4 100644 --- a/run/service-auth/requirements.txt +++ b/run/service-auth/requirements.txt @@ -1,5 +1,5 @@ google-auth==2.19.1 requests==2.31.0 Flask==3.0.0 -gunicorn==20.1.0 +gunicorn==22.0.0 Werkzeug==3.0.1