Skip to content

Commit e45841b

Browse files
author
shiraayal-tadata
committed
fix syntaxerror
1 parent e965e03 commit e45841b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_mcp/openapi_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def get_python_type_and_default(parsed_param_schema: Dict[str, Any]) -> tuple[st
132132
# Handle direct type specification
133133
python_type = OPENAPI_PYTHON_TYPES_MAP.get(parsed_param_schema.get("type", ""), "Any")
134134
if "default" in parsed_param_schema:
135-
return f"{python_type} = {parsed_param_schema.get("default")}", True
135+
return f"{python_type} = {parsed_param_schema.get('default')}", True
136136
return python_type, False
137137

138138
def resolve_schema_references(schema_part: Dict[str, Any], reference_schema: Dict[str, Any]) -> Dict[str, Any]:

0 commit comments

Comments
 (0)