Assert the response is a dict before indexing, matching the existing pattern used elsewhere in test_expand.py, so the Lint (mypy) job passes. Co-Authored-By: Claude <noreply@anthropic.com>
Assert the response is a dict before indexing, matching the existing pattern used elsewhere in test_expand.py, so the Lint (mypy) job passes. Co-Authored-By: Claude <noreply@anthropic.com>