workaround for typing bug

This commit is contained in:
gmega 2024-12-06 13:52:57 -03:00
parent ff158a6547
commit cbd4a65775
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18

View File

@ -22,7 +22,7 @@ class DelugeNodeConfig(BaseModel):
class DelugeNodeSetConfig(BaseModel):
network_size: int = Field(gte=2)
network_size: int = Field(gt=1)
address: str
daemon_port: int
listen_ports: list[int] = Field(min_length=2, max_length=2)