Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _parse_parameter(name: str, param: Any, default: Any) -> dict[str, Any]:
ret["description"] = meta
elif isinstance(meta, dict):
# only override from the metadata if it is not already set
if "description" not in ret and (description := meta.pop("description", None)):
if "description" not in ret and (description := meta.get("description")):
ret["description"] = description
ret.update(meta)
Comment on lines +155 to 157
else:
Expand Down
Loading