Skip to content

Commit

Permalink
Gracefully handle empty client endpoints (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 16, 2021
1 parent 634bb68 commit 65c3642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tailscale/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ClientSupports(BaseModel):
class ClientConnectivity(BaseModel):
"""Object holding Tailscale device information."""

endpoints: List[str]
endpoints: List[str] = Field(default_factory=list)
derp: str
mapping_varies_by_dest_ip: bool = Field(..., alias="mappingVariesByDestIP")
latency: Any
Expand Down

0 comments on commit 65c3642

Please sign in to comment.