File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ async def test_checkpoint_async(
175
175
176
176
177
177
@pytest .fixture
178
- def test_data ():
178
+ def test_data () -> dict [ str , Any ] :
179
179
"""Fixture providing test data for checkpoint tests."""
180
180
config_0 : RunnableConfig = {"configurable" : {"thread_id" : "1" , "checkpoint_ns" : "" }}
181
181
config_1 : RunnableConfig = {
@@ -226,13 +226,13 @@ def test_data():
226
226
"source" : "input" ,
227
227
"step" : 2 ,
228
228
"writes" : {},
229
- "parents" : 1 ,
229
+ "parents" : 1 , # type: ignore[typeddict-item]
230
230
}
231
231
metadata_2 : CheckpointMetadata = {
232
232
"source" : "loop" ,
233
233
"step" : 1 ,
234
234
"writes" : {"foo" : "bar" },
235
- "parents" : None ,
235
+ "parents" : None , # type: ignore[typeddict-item]
236
236
}
237
237
metadata_3 : CheckpointMetadata = {}
238
238
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ def test_checkpoint_table(engine: Any) -> None:
202
202
203
203
204
204
@pytest .fixture
205
- def test_data ():
205
+ def test_data () -> dict [ str , Any ] :
206
206
"""Fixture providing test data for checkpoint tests."""
207
207
config_0 : RunnableConfig = {"configurable" : {"thread_id" : "1" , "checkpoint_ns" : "" }}
208
208
config_1 : RunnableConfig = {
@@ -253,13 +253,13 @@ def test_data():
253
253
"source" : "input" ,
254
254
"step" : 2 ,
255
255
"writes" : {},
256
- "parents" : 1 ,
256
+ "parents" : 1 , # type: ignore[typeddict-item]
257
257
}
258
258
metadata_2 : CheckpointMetadata = {
259
259
"source" : "loop" ,
260
260
"step" : 1 ,
261
261
"writes" : {"foo" : "bar" },
262
- "parents" : None ,
262
+ "parents" : None , # type: ignore[typeddict-item]
263
263
}
264
264
metadata_3 : CheckpointMetadata = {}
265
265
You can’t perform that action at this time.
0 commit comments