Skip to content

Commit 6461006

Browse files
Introduce InstanceAvailability.NO_BALANCE (for external integrations) (#2975)
1 parent 3a6ea00 commit 6461006

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dstack/_internal/core/models/instances.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ class InstanceAvailability(Enum):
165165
AVAILABLE = "available"
166166
NOT_AVAILABLE = "not_available"
167167
NO_QUOTA = "no_quota"
168+
NO_BALANCE = (
169+
"no_balance" # Introduced in 0.19.24, may be used after a short compatibility period
170+
)
168171
IDLE = "idle"
169172
BUSY = "busy"
170173

0 commit comments

Comments
 (0)