Skip to content

Commit 7699111

Browse files
feat(api): update via SDK Studio
1 parent d51332b commit 7699111

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
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: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-aac74422364f9d25e30fcefd510297580b77be4b84c71416c5b9de5b882e5945.yml
3-
openapi_spec_hash: 4d42a5d93bd82754acf11e32e7438a04
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-2fed6c2aef6fb20a2815d0ed36d801c566a73ea11a66db5d892b1533a1fac19e.yml
3+
openapi_spec_hash: 55559a2ca985ed36cb8a13b09f80dcb5
44
config_hash: a085d1b39ddf0b26ee798501a9f47e20

src/kernel/types/app_list_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import Dict, List, Optional
4-
from typing_extensions import TypeAlias
4+
from typing_extensions import Literal, TypeAlias
55

66
from .._models import BaseModel
77

@@ -15,7 +15,7 @@ class AppListResponseItem(BaseModel):
1515
app_name: str
1616
"""Name of the application"""
1717

18-
region: str
18+
region: Literal["aws.us-east-1a"]
1919
"""Deployment region code"""
2020

2121
version: str

src/kernel/types/deployment_create_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DeploymentCreateResponse(BaseModel):
1616
created_at: datetime
1717
"""Timestamp when the deployment was created"""
1818

19-
region: str
19+
region: Literal["aws.us-east-1a"]
2020
"""Deployment region code"""
2121

2222
status: Literal["queued", "in_progress", "running", "failed", "stopped"]

src/kernel/types/deployment_follow_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class DeploymentStateEventDeployment(BaseModel):
3838
created_at: datetime
3939
"""Timestamp when the deployment was created"""
4040

41-
region: str
41+
region: Literal["aws.us-east-1a"]
4242
"""Deployment region code"""
4343

4444
status: Literal["queued", "in_progress", "running", "failed", "stopped"]
@@ -78,7 +78,7 @@ class AppVersionSummaryEvent(BaseModel):
7878
event: Literal["app_version_summary"]
7979
"""Event type identifier (always "app_version_summary")."""
8080

81-
region: str
81+
region: Literal["aws.us-east-1a"]
8282
"""Deployment region code"""
8383

8484
timestamp: datetime

src/kernel/types/deployment_retrieve_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DeploymentRetrieveResponse(BaseModel):
1616
created_at: datetime
1717
"""Timestamp when the deployment was created"""
1818

19-
region: str
19+
region: Literal["aws.us-east-1a"]
2020
"""Deployment region code"""
2121

2222
status: Literal["queued", "in_progress", "running", "failed", "stopped"]

0 commit comments

Comments
 (0)