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":