Skip to content

Commit 6b5edd2

Browse files
feat: Report the unified concurrency ceiling from the org limits endpoint
1 parent 8769915 commit 6b5edd2

4 files changed

Lines changed: 6 additions & 9 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: 127
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-7b03462454d6fa8390eaebc1b411d3e160501bf96abb93b75d38dfc382d4ce51.yml
3-
openapi_spec_hash: ba55400aafb4759cc06ec139fe528dfc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-7d774918a5bbe0a980a1dca0322e74d2b4e3d3372a2cbc9513e48f4b8b6abfa1.yml
3+
openapi_spec_hash: 8007b5846ff01c221e29d467b1cb8aaf
44
config_hash: 77ee715aa17061166f9a02b264a21b8d

src/kernel/resources/projects/limits.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ def update(
113113
unchanged.
114114
115115
max_pooled_sessions: Deprecated: pooled browsers now count toward `max_concurrent_sessions`. Requests
116-
that set this field are rejected with a 400 once the unified concurrency limit
117-
is enabled for your organization.
116+
that set this field are rejected with a 400.
118117
119118
extra_headers: Send extra headers
120119
@@ -233,8 +232,7 @@ async def update(
233232
unchanged.
234233
235234
max_pooled_sessions: Deprecated: pooled browsers now count toward `max_concurrent_sessions`. Requests
236-
that set this field are rejected with a 400 once the unified concurrency limit
237-
is enabled for your organization.
235+
that set this field are rejected with a 400.
238236
239237
extra_headers: Send extra headers
240238

src/kernel/types/projects/limit_update_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ class LimitUpdateParams(TypedDict, total=False):
2525
max_pooled_sessions: Optional[int]
2626
"""Deprecated: pooled browsers now count toward `max_concurrent_sessions`.
2727
28-
Requests that set this field are rejected with a 400 once the unified
29-
concurrency limit is enabled for your organization.
28+
Requests that set this field are rejected with a 400.
3029
"""

src/kernel/types/projects/project_limits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ class ProjectLimits(BaseModel):
2424
max_pooled_sessions: Optional[int] = None
2525
"""Deprecated: pooled browsers now count toward `max_concurrent_sessions`.
2626
27-
Always null once the unified concurrency limit is enabled for your organization.
27+
Always null.
2828
"""

0 commit comments

Comments
 (0)