chore: docstring not match the function parameter (#17162)

This commit is contained in:
非法操作 2025-03-31 13:19:15 +08:00 • committed by GitHub
commit 44f911a0a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 60 additions and 95 deletions

View file

@ -200,6 +200,8 @@ class ApiBasedToolSchemaParser:
parse openapi yaml to tool bundle
:param yaml: the yaml string
:param extra_info: the extra info
:param warning: the warning message
:return: the tool bundle
"""
warning = warning if warning is not None else {}
@ -281,6 +283,8 @@ class ApiBasedToolSchemaParser:
parse openapi plugin yaml to tool bundle
:param json: the json string
:param extra_info: the extra info
:param warning: the warning message
:return: the tool bundle
"""
warning = warning if warning is not None else {}
@ -315,6 +319,8 @@ class ApiBasedToolSchemaParser:
auto parse to tool bundle
:param content: the content
:param extra_info: the extra info
:param warning: the warning message
:return: tools bundle, schema_type
"""
warning = warning if warning is not None else {}