Skip to content

Commit 1267126

Browse files
committed
fix: add arg-type ignores for async_client
1 parent 3e4fdc9 commit 1267126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_filter_none_values.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_encode_json_nested_none_filtering(client: Replicate):
9999
async 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},

0 commit comments

Comments
 (0)