Skip to content

Commit

Permalink
Device created datetime isn't always provided (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Dec 14, 2021
1 parent db532a9 commit 1c4819b
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 @@ -41,7 +41,7 @@ class Device(BaseModel):
client_version: str = Field(..., alias="clientVersion")
update_available: bool = Field(..., alias="updateAvailable")
os: str
created: datetime
created: Optional[datetime]
last_seen: Optional[datetime] = Field(..., alias="lastSeen")
key_expiry_disabled: bool = Field(..., alias="keyExpiryDisabled")
expires: Optional[datetime]
Expand Down

0 comments on commit 1c4819b

Please sign in to comment.