Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 9b20141

Browse files
authored
Update types.py
1 parent d6bbff9 commit 9b20141

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/awsed/types.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ class PlayerJson:
167167
maxMemory: int
168168
gpu: int
169169

170+
@dataclass
171+
class Zone:
172+
name: str
173+
nodeSelector: str
174+
tolerations: str
175+
type: str
176+
labels: str
177+
weight: int
170178

171179
@dataclass
172180
class UserLaunchProfileJson:
@@ -177,7 +185,7 @@ class UserLaunchProfileJson:
177185
displayName: str
178186
description: str
179187
volumes: Optional[List[dict]] = field(default_factory=list)
180-
zone: Optional[Any] = None
188+
zones: List[Zone] = field(default_factory=list)
181189

182190

183191
@dataclass
@@ -382,3 +390,4 @@ class EnrollmentJson:
382390

383391

384392

393+

0 commit comments

Comments
 (0)