From 3653c652d752409945417e3341d936245c79fba5 Mon Sep 17 00:00:00 2001 From: Petro Tiurin <93913847+ptiurin@users.noreply.github.com> Date: Fri, 10 Jun 2022 08:58:31 +0100 Subject: [PATCH] chore: Upgrade httpx version (#176) --- setup.cfg | 4 ++-- src/firebolt/client/client.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index ba3a1c3afbc..47712f174b5 100755 --- a/setup.cfg +++ b/setup.cfg @@ -28,7 +28,7 @@ install_requires = appdirs-stubs>=0.1.0 async-property==0.2.1 cryptography>=3.4.0 - httpx[http2]==0.21.3 + httpx[http2]==0.23.0 pydantic[dotenv]==1.8.2 readerwriterlock==1.0.9 sqlparse>=0.4.2 @@ -51,7 +51,7 @@ dev = pytest==6.2.5 pytest-asyncio pytest-cov==3.0.0 - pytest-httpx==0.18.0 + pytest-httpx==0.21.0 pytest-mock==3.6.1 pytest-timeout==2.1.0 pytest-xdist==2.5.0 diff --git a/src/firebolt/client/client.py b/src/firebolt/client/client.py index 85d4805be2f..f53c7f91446 100644 --- a/src/firebolt/client/client.py +++ b/src/firebolt/client/client.py @@ -38,7 +38,7 @@ def __init__( self._api_endpoint = URL(fix_url_schema(api_endpoint)) super().__init__(*args, auth=auth, **kwargs) - def _build_auth(self, auth: AuthTypes) -> Optional[Auth]: + def _build_auth(self, auth: Optional[AuthTypes]) -> Optional[Auth]: """Create Auth object based on auth provided. Overrides ``httpx.Client._build_auth``