Skip to content

Commit 9699a27

Browse files
feat: Expose resolved profile_id and extension_ids on browser pool reads
1 parent 6e1ac47 commit 9699a27

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 125
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-f040d3f5c26d6e0d312206b294d3745b272e26b883e7d704f6b4c45dd438cd01.yml
3-
openapi_spec_hash: 56f4918d2e3f8d717ffe3643a20feb96
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-f0486d0b8e34ddf8ba34e36ff97856cf973e0797e021ff621e04e4840970966e.yml
3+
openapi_spec_hash: 12a71ce5ac80fc65f6a8779f0ca29223
44
config_hash: 06186eb40e0058a2a87ac251fc07415d

src/kernel/types/browser_pool.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,21 @@ class BrowserPool(BaseModel):
150150
created_at: datetime
151151
"""Timestamp when the browser pool was created"""
152152

153+
extension_ids: List[str]
154+
"""Resolved extension IDs attached to the pool, in configured load order.
155+
156+
Empty when no extensions are attached. Authoritative for programmatic consumers;
157+
the extensions inside `browser_pool_config` reflect the configured selector
158+
(echoed as sent on create).
159+
"""
160+
153161
name: Optional[str] = None
154162
"""Browser pool name, if set"""
163+
164+
profile_id: Optional[str] = None
165+
"""Resolved profile ID the pool is attached to.
166+
167+
Omitted when no profile is attached. Authoritative for programmatic consumers;
168+
the profile inside `browser_pool_config` reflects the configured selector
169+
(echoed as sent on create).
170+
"""

0 commit comments

Comments
 (0)