test: replace `cast()` with `isinstance` asserts in integration tests (#787)
Sweep integration tests to replace type-only `cast('T', result)` calls
with runtime `assert isinstance(result, T)` checks. Where the value is
the typed model, the assert both narrows the type for `ty` and verifies
the response shape at runtime instead of trusting it blindly. V
Vlada Dusek committed
fa24a2170947c3d5d1a16c3e33bb4ba529a2777c
Parent: 29a9b97
Committed by GitHub <noreply@github.com>
on 5/11/2026, 2:38:49 PM