refactor: replace bare dict with dict[str, Any] in response converter… (#35212)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
wdeveloper16
2026-04-14 19:45:04 +00:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent 9c90c1c455
commit 7e7b27fdec
12 changed files with 28 additions and 25 deletions
@@ -1026,7 +1026,7 @@ class DocumentMetadataApi(DocumentResource):
if not isinstance(doc_metadata, dict):
raise ValueError("doc_metadata must be a dictionary.")
metadata_schema: dict = cast(dict, DocumentService.DOCUMENT_METADATA_SCHEMA[doc_type])
metadata_schema: dict[str, Any] = cast(dict[str, Any], DocumentService.DOCUMENT_METADATA_SCHEMA[doc_type])
document.doc_metadata = {}
if doc_type == "others":