mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
improve signature for get_schema_property_json
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user