Skip to content

Commit 686c98e

Browse files
committed
backport | None notation to Optional[T]
1 parent b445127 commit 686c98e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workos/types/api_keys/api_keys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Literal
1+
from typing import Literal, Optional
22

33
from workos.types.workos_model import WorkOSModel
44

@@ -14,7 +14,7 @@ class ApiKey(WorkOSModel):
1414
owner: ApiKeyOwner
1515
name: str
1616
obfuscated_value: str
17-
last_used_at: str | None = None
17+
last_used_at: Optional[str] = None
1818
permissions: list[str]
1919
created_at: str
2020
updated_at: str

0 commit comments

Comments
 (0)