Skip to content

Commit 2a08d98

Browse files
feat(api): api update (#133)
1 parent 3248d7e commit 2a08d98

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-a42637317cf43a3f4dacf3b88ac09b86e41d4dc44c51140aa92cef99b5d0c02a.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-06206dff3ffaf539b0ed8aa5bac368cb366b631f85d7a4ba5f07aca91c172550.yml

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ session = client.sessions.create(
112112
"fingerprint": {
113113
"browsers": ["chrome"],
114114
"devices": ["desktop"],
115-
"http_version": 1,
115+
"http_version": "1",
116116
"locales": ["string"],
117117
"operating_systems": ["android"],
118118
"screen": {

src/browserbase/types/session_create_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class BrowserSettingsFingerprint(TypedDict, total=False):
8888

8989
devices: List[Literal["desktop", "mobile"]]
9090

91-
http_version: Annotated[Literal[1, 2], PropertyInfo(alias="httpVersion")]
91+
http_version: Annotated[Literal["1", "2"], PropertyInfo(alias="httpVersion")]
9292

9393
locales: List[str]
9494
"""

tests/api_resources/test_sessions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_method_create_with_all_params(self, client: Browserbase) -> None:
4545
"fingerprint": {
4646
"browsers": ["chrome"],
4747
"devices": ["desktop"],
48-
"http_version": 1,
48+
"http_version": "1",
4949
"locales": ["string"],
5050
"operating_systems": ["android"],
5151
"screen": {
@@ -277,7 +277,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncBrowserbas
277277
"fingerprint": {
278278
"browsers": ["chrome"],
279279
"devices": ["desktop"],
280-
"http_version": 1,
280+
"http_version": "1",
281281
"locales": ["string"],
282282
"operating_systems": ["android"],
283283
"screen": {

0 commit comments

Comments
 (0)