Skip to content
Snippets Groups Projects
Commit 5ba8183a authored by Remi Cresson's avatar Remi Cresson
Browse files

Style: fix warnings

parent a941b88a
No related branches found
No related tags found
1 merge request!11Enh: deduce oauth url from openapi defs
Pipeline #171490 canceled
......@@ -60,9 +60,7 @@ if settings_file and os.path.isfile(settings_file):
def retrieve_token_endpoint(s3_signing_endpoint: str = S3_SIGNING_ENDPOINT):
"""
retrieve the token endpoint from the s3 signing endpoint.
"""
"""Retrieves the token endpoint from the s3 signing endpoint."""
openapi_url = s3_signing_endpoint + "openapi.json"
log.debug("Fetching OAuth2 endpoint from openapi url %s", openapi_url)
res = requests.get(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment