File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def test_encode_json_nested_none_filtering(client: Replicate):
9999async def test_async_encode_json_filters_none (async_client ): # type: ignore[no-untyped-def]
100100 """Test that async_encode_json filters None values from dicts."""
101101 input_dict = {"prompt" : "banana" , "seed" : None , "width" : 512 }
102- result = await async_encode_json (input_dict , async_client )
102+ result = await async_encode_json (input_dict , async_client ) # type: ignore[arg-type]
103103 assert result == {"prompt" : "banana" , "width" : 512 }
104104 assert "seed" not in result
105105
@@ -111,7 +111,7 @@ async def test_async_encode_json_nested_none_filtering(async_client): # type: i
111111 "config" : {"seed" : None , "temperature" : 0.8 },
112112 "metadata" : {"user" : "test" , "session" : None },
113113 }
114- result = await async_encode_json (input_dict , async_client )
114+ result = await async_encode_json (input_dict , async_client ) # type: ignore[arg-type]
115115 assert result == {
116116 "prompt" : "banana" ,
117117 "config" : {"temperature" : 0.8 },
You can’t perform that action at this time.
0 commit comments