Skip to content

Commit 3af6a77

Browse files
feat: Return proxy ID in browsers response
1 parent d452cf2 commit 3af6a77

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 51
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a3d897b2f8f50d61df2555cbe888dfd2479a8a3faf9d9e2292cfdad3131485c5.yml
3-
openapi_spec_hash: 6adc963fd957cd9f96bb16e62bdaed58
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d0090ff3ef876c554e7a1281d5cbe1666cf68aebfc60e05cb7f4302ee377b372.yml
3+
openapi_spec_hash: 33fef541c420a28125f18cd1efc0d585
44
config_hash: 49c2ff978aaa5ccb4ce324a72f116010

src/kernel/types/browser_create_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ class BrowserCreateResponse(BaseModel):
4040

4141
profile: Optional[Profile] = None
4242
"""Browser profile metadata."""
43+
44+
proxy_id: Optional[str] = None
45+
"""ID of the proxy associated with this browser session, if any."""

src/kernel/types/browser_list_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@ class BrowserListResponseItem(BaseModel):
4242
profile: Optional[Profile] = None
4343
"""Browser profile metadata."""
4444

45+
proxy_id: Optional[str] = None
46+
"""ID of the proxy associated with this browser session, if any."""
47+
4548

4649
BrowserListResponse: TypeAlias = List[BrowserListResponseItem]

src/kernel/types/browser_retrieve_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ class BrowserRetrieveResponse(BaseModel):
4040

4141
profile: Optional[Profile] = None
4242
"""Browser profile metadata."""
43+
44+
proxy_id: Optional[str] = None
45+
"""ID of the proxy associated with this browser session, if any."""

0 commit comments

Comments
 (0)