Skip to content

Commit 80d12f3

Browse files
committed
fix(port-forwarding): Ports can be None after instance deletion
1 parent d96a6a8 commit 80d12f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class Ports(BaseModel):
309309
ports: Dict[int, PortFlags]
310310

311311

312-
AllForwarders = RootModel[Dict[ItemHash, Ports]]
312+
AllForwarders = RootModel[Dict[ItemHash, Ports | None]]
313313

314314

315315
class DictLikeModel(BaseModel):

0 commit comments

Comments
 (0)