diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e571db8f04..647bc705b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,7 @@ jobs: tests: name: "Test on ${{ matrix.python-version }} (${{ matrix.session }}) / ${{ matrix.os }}" runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.session != 'tests' }} env: NOXSESSION: ${{ matrix.session }} strategy: diff --git a/singer_sdk/authenticators.py b/singer_sdk/authenticators.py index 61382daba3..104cc3cb42 100644 --- a/singer_sdk/authenticators.py +++ b/singer_sdk/authenticators.py @@ -5,7 +5,7 @@ import base64 import math import typing as t -from datetime import datetime, timedelta +from datetime import timedelta from types import MappingProxyType from urllib.parse import parse_qs, urlencode, urlsplit, urlunsplit @@ -19,6 +19,8 @@ if t.TYPE_CHECKING: import logging + from pendulum import DateTime + from singer_sdk.streams.rest import RESTStream @@ -378,7 +380,7 @@ def __init__( # Initialize internal tracking attributes self.access_token: str | None = None self.refresh_token: str | None = None - self.last_refreshed: datetime | None = None + self.last_refreshed: DateTime | None = None self.expires_in: int | None = None @property