Skip to content

Commit 61bc5e7

Browse files
adamtheturtleclaude
andcommitted
Add exhaustive match default to satisfy ty type checker
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 94162e1 commit 61bc5e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/vws/transports.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ def _httpx_timeout(
3030
write=None,
3131
pool=None,
3232
)
33+
case _: # pragma: no cover
34+
msg = f"Unexpected timeout type: {type(request_timeout)}"
35+
raise TypeError(msg)
3336

3437

3538
@runtime_checkable

0 commit comments

Comments
 (0)