Skip to content

Commit

Permalink
Merge pull request #7 from kharigardner/hotfix/httpx
Browse files Browse the repository at this point in the history
Hotfix/httpx
  • Loading branch information
kharigardner authored Mar 5, 2024
2 parents ff641b6 + dc8e915 commit 1abe70b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyfivetran/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ class FivetranClient:
Interface class for Fivetran API interactions via endpoints.
"""

def __init__(self, api_key: str, api_secret: str) -> None:
def __init__(self, api_key: str, api_secret: str, **httpx_kwargs) -> None:
if not api_key or not api_secret:
raise ValueError("api_key and api_secret are required")
self.api_key = api_key
self.api_secret = api_secret
self._client = httpx.Client()
self._client = httpx.Client(**httpx_kwargs)

@lazy
def account_info(self) -> GeneralApiResponse:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyfivetran"
version = "2024.03.04.02"
version = "2024.03.04.03"
description = "Pythonic interface to the fivetran API"
authors = ["Khari Gardner <kharigardner@protonmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 1abe70b

Please sign in to comment.