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