From 273eefbeb70976274425a038d95f91dddb249186 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 17 Jan 2023 11:27:20 -0500 Subject: [PATCH] improve signature for get_schema_property_json --- pydantic/json_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydantic/json_schema.py b/pydantic/json_schema.py index 54b9693..30181c3 100644 --- a/pydantic/json_schema.py +++ b/pydantic/json_schema.py @@ -27,7 +27,7 @@ def internal_to_json_types(s: str) -> str: return TYPE_MAP.get(s, s) -def get_schema_property_json(*, field_name: str, inner_schema_field: Dict[str, Any]): +def get_schema_property_json(field_name: str, inner_schema_field: Dict[str, Any]): """ Returns a dict, used to construct JSON Schema for a given field's properties. """