Skip to content

Commit 3bc6b06

Browse files
fix(models): make BashProgressDataDict non-total for safe TypeGuard
1 parent 805ef93 commit 3bc6b06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

models/record_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import Literal, TypedDict, TypeGuard
44

55

6-
class BashProgressDataDict(TypedDict):
6+
class BashProgressDataDict(TypedDict, total=False):
77
type: Literal["bash_progress"]
88
output: str
99

0 commit comments

Comments
 (0)