Skip to content

Commit 620a84b

Browse files
committed
Fix remaining types errors
1 parent d753627 commit 620a84b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/client/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@
9595

9696
MINIMAL_TASK: dict[str, Any] = {
9797
'id': 'task-abc',
98-
'context_id': 'session-xyz',
98+
'contextId': 'session-xyz',
9999
'status': {'state': 'working'},
100100
'kind': 'task',
101101
}
102102

103103
MINIMAL_CANCELLED_TASK: dict[str, Any] = {
104104
'id': 'task-abc',
105-
'context_id': 'session-xyz',
105+
'contextId': 'session-xyz',
106106
'status': {'state': 'canceled'},
107107
'kind': 'task',
108108
}

tests/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
TEXT_PART_DATA: dict[str, Any] = {'kind': 'text', 'text': 'Hello'}
114114
FILE_URI_PART_DATA: dict[str, Any] = {
115115
'kind': 'file',
116-
'file': {'uri': 'file:///path/to/file.txt', 'mime_type': 'text/plain'},
116+
'file': {'uri': 'file:///path/to/file.txt', 'mimeType': 'text/plain'},
117117
}
118118
FILE_BYTES_PART_DATA: dict[str, Any] = {
119119
'kind': 'file',

0 commit comments

Comments
 (0)