Skip to content

Commit 9cf3f22

Browse files
feat(api): api update
1 parent 3db59eb commit 9cf3f22

3 files changed

Lines changed: 10 additions & 5 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: 35
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-5f9188a1c0381af257911481b09d7147ebd1427ed55210ccfaa6d6aaae3d5aab.yml
3-
openapi_spec_hash: 3118efc2b9f0d567cb3ced12345f6e86
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/nen-labs%2Fsteel-a7c3e89bea1fa5763c069e476aa0296b237d3392485bb5b37058b8b7b0210ce1.yml
3+
openapi_spec_hash: 0451eda3557144cd15da8580e1e5d8fc
44
config_hash: 82777254c5d47bd0cf18d4e17a2e9964

src/steel/resources/sessions/sessions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def create(
141141
Steel-provided proxies in favor of your specified proxy. Format:
142142
http(s)://username:password@hostname:port
143143
144-
region: The desired region for the session to be started in
144+
region: The desired region for the session to be started in. Available regions are lax,
145+
ord, iad
145146
146147
session_context: Session context data to be used in the created session. Sessions will start with
147148
an empty context by default.
@@ -532,7 +533,8 @@ async def create(
532533
Steel-provided proxies in favor of your specified proxy. Format:
533534
http(s)://username:password@hostname:port
534535
535-
region: The desired region for the session to be started in
536+
region: The desired region for the session to be started in. Available regions are lax,
537+
ord, iad
536538
537539
session_context: Session context data to be used in the created session. Sessions will start with
538540
an empty context by default.

src/steel/types/session_create_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ class SessionCreateParams(TypedDict, total=False):
8989
"""
9090

9191
region: str
92-
"""The desired region for the session to be started in"""
92+
"""The desired region for the session to be started in.
93+
94+
Available regions are lax, ord, iad
95+
"""
9396

9497
session_context: Annotated[SessionContext, PropertyInfo(alias="sessionContext")]
9598
"""Session context data to be used in the created session.

0 commit comments

Comments
 (0)