Skip to content

Commit 9f1c19e

Browse files
committed
bump version
1 parent c6a9deb commit 9f1c19e

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scrapybara"
3-
version = "2.1.1"
3+
version = "2.1.2"
44
description = ""
55
readme = "README.md"
66
authors = []

src/scrapybara/core/client_wrapper.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88

99
class BaseClientWrapper:
10-
def __init__(self, *, api_key: str, base_url: str, timeout: typing.Optional[float] = None):
10+
def __init__(
11+
self, *, api_key: str, base_url: str, timeout: typing.Optional[float] = None
12+
):
1113
self.api_key = api_key
1214
self._base_url = base_url
1315
self._timeout = timeout
@@ -16,7 +18,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1618
headers: typing.Dict[str, str] = {
1719
"X-Fern-Language": "Python",
1820
"X-Fern-SDK-Name": "scrapybara",
19-
"X-Fern-SDK-Version": "2.1.1",
21+
"X-Fern-SDK-Version": "2.1.2",
2022
}
2123
headers["x-api-key"] = self.api_key
2224
return headers
@@ -30,7 +32,12 @@ def get_timeout(self) -> typing.Optional[float]:
3032

3133
class SyncClientWrapper(BaseClientWrapper):
3234
def __init__(
33-
self, *, api_key: str, base_url: str, timeout: typing.Optional[float] = None, httpx_client: httpx.Client
35+
self,
36+
*,
37+
api_key: str,
38+
base_url: str,
39+
timeout: typing.Optional[float] = None,
40+
httpx_client: httpx.Client
3441
):
3542
super().__init__(api_key=api_key, base_url=base_url, timeout=timeout)
3643
self.httpx_client = HttpClient(
@@ -43,7 +50,12 @@ def __init__(
4350

4451
class AsyncClientWrapper(BaseClientWrapper):
4552
def __init__(
46-
self, *, api_key: str, base_url: str, timeout: typing.Optional[float] = None, httpx_client: httpx.AsyncClient
53+
self,
54+
*,
55+
api_key: str,
56+
base_url: str,
57+
timeout: typing.Optional[float] = None,
58+
httpx_client: httpx.AsyncClient
4759
):
4860
super().__init__(api_key=api_key, base_url=base_url, timeout=timeout)
4961
self.httpx_client = AsyncHttpClient(

0 commit comments

Comments
 (0)