Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use aiohttp.BasicAuth instead of HTTPBasicAuth for aiohttp session in databricks hook #34590

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

hussein-awala
Copy link
Member

closes: #34450

Databricks hook uses aiohttp client session for async methods, but in the method _a_get_sp_token, we use HTTPBasicAuth instance to provide basic authentication credentials which is not compatible with aiohttp sessions. This PR fixes the issue by providing the credentials using aiohttp.BasicAuth instance as we do in the other methods.

@phanikumv phanikumv merged commit a1ef232 into apache:main Sep 25, 2023
43 checks passed
@rinzool
Copy link

rinzool commented Oct 5, 2023

Hi @hussein-awala, thanks for the fix of #34450
Do you know where a new version of the databricks provider will be deployed with this fix? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DatabricksRunNowDeferrableOperator not working with OAuth
4 participants