fix style check

This commit is contained in:
jyong
2025-09-17 20:57:41 +08:00
parent 621a7898d7
commit f73d6b6a51
4 changed files with 14 additions and 4 deletions

View File

@ -101,7 +101,7 @@ class ApiBasedToolSchemaParser:
# parse body parameters
if "schema" in interface["operation"]["requestBody"]["content"][content_type]: # pyright: ignore[reportIndexIssue, reportPossiblyUnboundVariable]
body_schema = interface["operation"]["requestBody"]["content"][content_type]["schema"]
body_schema = interface["operation"]["requestBody"]["content"][content_type]["schema"] # pyright: ignore[reportIndexIssue, reportPossiblyUnboundVariable]
required = body_schema.get("required", [])
properties = body_schema.get("properties", {})
for name, property in properties.items():