Skip to content

Commit 5696c03

Browse files
committed
fix: allow None type for ports when they are not set / removed by front
1 parent 03756d0 commit 5696c03

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, Optional[Ports]]]
313313

314314

315315
class DictLikeModel(BaseModel):

0 commit comments

Comments
 (0)