From b1bafe4a78fc1b41e50c68b2622f43b620ca5427 Mon Sep 17 00:00:00 2001 From: Dima Alberg Date: Mon, 15 May 2023 20:29:28 +0300 Subject: [PATCH] Issue ref #269: OAuth 2.0 Credential Format for Delta Sharing Python Client Pull Request Signed-off-by: Dima Alberg --- python/delta_sharing/rest_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/delta_sharing/rest_client.py b/python/delta_sharing/rest_client.py index 07e9d7cd3..927439049 100644 --- a/python/delta_sharing/rest_client.py +++ b/python/delta_sharing/rest_client.py @@ -145,7 +145,7 @@ def __init__(self, profile: DeltaSharingProfile, num_retries=10): self._sleeper = lambda sleep_ms: time.sleep(sleep_ms / 1000) self.auth_session(profile) - def auth_session(self, profile) -> requests.Session: + def auth_session(self, profile): self._session = requests.Session() self.auth_broker(profile) if urlparse(profile.endpoint).hostname == "localhost":