python -m mypy src tests fails because AudioResource.transcription() is annotated as returning APIResponse, while the committed test accesses the transcription-specific .text field (tests/test_client.py:165). APIResponse does not declare text, so the repository�\s strict mypy configuration cannot pass. Add a typed transcription response model with text and return it from transcription()/transcription_async(), or declare the field on the returned model.
File: src/globalrouter/_resources.py
Line: 536
Severity: high
Summary: missing transcription text model in audioresource.transcription
python -m mypy src testsfails becauseAudioResource.transcription()is annotated as returningAPIResponse, while the committed test accesses the transcription-specific.textfield (tests/test_client.py:165).APIResponsedoes not declaretext, so the repository�\s strict mypy configuration cannot pass. Add a typed transcription response model withtextand return it fromtranscription()/transcription_async(), or declare the field on the returned model.File:
src/globalrouter/_resources.pyLine: 536
Severity: high
Summary: missing transcription text model in audioresource.transcription