Skip to content

Commit

Permalink
Fix incorrect default factory on ClientConnectivity model (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Dec 1, 2021
1 parent 116859b commit f59a447
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tailscale/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ class Device(BaseModel):
blocks_incoming_connections: bool = Field(..., alias="blocksIncomingConnections")
enabled_routes: List[str] = Field(alias="enabledRoutes", default_factory=list)
advertised_routes: List[str] = Field(alias="advertisedRoutes", default_factory=list)
client_connectivity: ClientConnectivity = Field(
alias="clientConnectivity", default_factory=list
)
client_connectivity: ClientConnectivity = Field(alias="clientConnectivity")


class Devices(BaseModel):
Expand Down

0 comments on commit f59a447

Please sign in to comment.