got further

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-11-28 15:17:44 -08:00
parent 373b5ef4ae
commit 058b4dc40a
76 changed files with 1478 additions and 752 deletions

View File

@ -69,8 +69,10 @@ class ApiToken:
id: Union[Unset, Uuid]
if isinstance(_id, Unset):
id = UNSET
if _id is None:
id = UNSET
else:
id = _id # type: ignore[arg-type]
id = _id
is_valid = d.pop("is_valid", UNSET)
@ -78,8 +80,10 @@ class ApiToken:
token: Union[Unset, Uuid]
if isinstance(_token, Unset):
token = UNSET
if _token is None:
token = UNSET
else:
token = _token # type: ignore[arg-type]
token = _token
_updated_at = d.pop("updated_at", UNSET)
updated_at: Union[Unset, datetime.datetime]
@ -92,8 +96,10 @@ class ApiToken:
user_id: Union[Unset, Uuid]
if isinstance(_user_id, Unset):
user_id = UNSET
if _user_id is None:
user_id = UNSET
else:
user_id = _user_id # type: ignore[arg-type]
user_id = _user_id
api_token = cls(
created_at=created_at,