From 8a9415625c4eea90ecaf1ce73a7c7b91087aa96e Mon Sep 17 00:00:00 2001 From: Reuben Frankel Date: Wed, 20 Mar 2024 17:17:25 +0000 Subject: [PATCH] Remove redundant type hints --- tap_google_sheets/auth.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tap_google_sheets/auth.py b/tap_google_sheets/auth.py index 5cb4767..4f59049 100644 --- a/tap_google_sheets/auth.py +++ b/tap_google_sheets/auth.py @@ -2,7 +2,6 @@ import json from datetime import datetime -from typing import Optional import requests from singer_sdk.authenticators import OAuthAuthenticator, SingletonMeta @@ -44,10 +43,10 @@ def __init__( self._auth_body = auth_body # Initialize internal tracking attributes - self.access_token: Optional[str] = None - self.refresh_token: Optional[str] = None - self.last_refreshed: Optional[datetime] = None - self.expires_in: Optional[int] = None + self.access_token = None + self.refresh_token = None + self.last_refreshed = None + self.expires_in = None def is_token_valid(self) -> bool: """Check if token is valid."""