Skip to content

Commit 2a88039

Browse files
authored
Update event_loop.py
1 parent 5be1f4b commit 2a88039

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/strands/types/event_loop.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Event loop-related type definitions for the SDK."""
22

3-
from typing import Literal, Optional
3+
from typing import Literal
44

55
from typing_extensions import Required, TypedDict
66

@@ -19,8 +19,8 @@ class Usage(TypedDict, total=False):
1919
inputTokens: Required[int]
2020
outputTokens: Required[int]
2121
totalTokens: Required[int]
22-
cacheReadInputTokens: Optional[int]
23-
cacheWriteInputTokens: Optional[int]
22+
cacheReadInputTokens: int
23+
cacheWriteInputTokens: int
2424

2525

2626
class Metrics(TypedDict):

0 commit comments

Comments
 (0)