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

TypeError: __init__() got an unexpected keyword argument 'proxies' for httpx > 0.27.2 #9

Open
anilmenon14 opened this issue Dec 9, 2024 · 0 comments

Comments

@anilmenon14
Copy link

Since httpx is not a pinned dependency, on any of the newer installations of unitycatalog-python, receiving the below error when running instantiating a UC client object.
Issue has been observed when httpx version is 0.28.0 or greater.

import unitycatalog
uc_client = unitycatalog.Unitycatalog(
            base_url=UC_CATALOG_TABLE_URI,     
            default_headers={"Authorization": f"Bearer {token}"},      
)

Error:

 super().__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'proxies'

Workaround:
Install a pinned version of httpx==0.27.2 when creating virtual environment

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

No branches or pull requests

1 participant