Repository navigation
[PR-verification] oauth raw expires_in from overrides - #1184
Closed
Baz (bazarnov) wants to merge 1 commit into
Closed
Baz (bazarnov) wants to merge 1 commit into
Baz (bazarnov) wants to merge 1 commit into
Conversation
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksTesting This CDK VersionYou can test this version of the CDK using the following: # Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/airbyte-python-cdk.git@bazarnov/verify-oauth-raw-expires-in#egg=airbyte-python-cdk[dev]' --help
# Update a connector to use the CDK from this branch ref:
cd airbyte-integrations/connectors/source-example
poe use-cdk-branch bazarnov/verify-oauth-raw-expires-inPR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
|
…verrides Since 6.45.5 refresh_access_token returns the expiry as a datetime and set_token_expiry_date stores its argument unparsed. Overrides written earlier still return the raw expires_in: the next expiry check raises a TypeError, and SingleUseRefreshTokenOauth2Authenticator stores it as a 1970 epoch and refreshes on every request. - Oauth2Authenticator and DeclarativeOauth2Authenticator set_token_expiry_date parse a non-datetime value again, as before 6.45.5. A value that cannot be parsed is stored as before. - SingleUseRefreshTokenOauth2Authenticator.set_token_expiry_date reads a numeric value as seconds when neither token_expiry_is_time_of_expiration nor token_expiry_date_format is set. Other values are stored as before. - _parse_token_expiration_date passes datetimes through, for custom setters that parse the CDK's own result with it.
Baz (bazarnov)
force-pushed
the
bazarnov/verify-oauth-raw-expires-in
branch
from
September 28, 2026 14:26
1087ded to
95667e2
Compare
Contributor
Author
|
Validation complete; closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validation run for a candidate change. Not for merge; will be closed after CI completes.