Skip to content

Conversation

@xborder
Copy link
Contributor

@xborder xborder commented Jan 2, 2026

Description

This pull request adds OAuth options introduced in #2651 to python

Related Issues

Closes #2714

Changes Made

  • Added enums in python with available OAuth options
  • Updated documentation
  • Added python recipes with working mock oauth server

@xborder xborder requested a review from lidavidm as a code owner January 2, 2026 15:29
@github-actions github-actions bot added this to the ADBC Libraries 22 milestone Jan 2, 2026
@xborder xborder changed the title GH-2714: Add OAuth options to Python feat(python): Add OAuth options to Python Jan 2, 2026
@lidavidm lidavidm changed the title feat(python): Add OAuth options to Python feat(python/adbc_driver_flightsql): add constants for OAuth options Jan 3, 2026
Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

These recipes won't run in CI as-is. Is there some minimal implementation that we can run them against?

Adding oauth mock server to be used for recipes.
Creates a token that gets validated by a mock flight server
@xborder xborder requested review from kou and zeroshade as code owners January 4, 2026 00:17
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add constants in the other languages too?

@xborder
Copy link
Contributor Author

xborder commented Jan 4, 2026

@lidavidm I've added a mock oauth server and complementary validation on flightsql test server to make the recipes work

@zeroshade Yes. Is there any other language that wraps the go driver similarly to python? If not this is a feature gap in other languages.

@lidavidm
Copy link
Member

lidavidm commented Jan 5, 2026

I think we can handle other languages in other PRs

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please rebase!

@lidavidm lidavidm merged commit 251d59c into apache:main Jan 6, 2026
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python: add oauth options

3 participants