Skip to content

Commit cf14c92

Browse files
tconley1428claude
andcommitted
Remove pyright exclusion for tests/test_converter.py and fix type error
Fixed 1 type error: - Added type ignore comment for DataConverter().decode() call with optional type hint 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 4243766 commit cf14c92

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ exclude = [
202202
"temporalio/api",
203203
"temporalio/bridge/proto",
204204
"tests/worker/workflow_sandbox/testmodules/proto",
205-
"tests/test_converter.py",
206205
"tests/test_service.py",
207206
"tests/worker/test_activity.py",
208207
"tests/worker/workflow_sandbox/test_importer.py",

tests/test_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def assert_payload(
119119
expected_data = expected_data.encode()
120120
assert payloads[0].data == expected_data
121121
# Decode and check
122-
actual_inputs = await DataConverter().decode(payloads, [type_hint])
122+
actual_inputs = await DataConverter().decode(payloads, [type_hint]) # type: ignore[reportArgumentType]
123123
assert len(actual_inputs) == 1
124124
if expected_decoded_input is None:
125125
expected_decoded_input = input

0 commit comments

Comments
 (0)