nested_model_using_definitions
No overview available.
def nested_model_using_definitions(
bench: &mut Bencher
) - > dict
Creates a Pydantic model schema that utilizes internal definitions for nested structures to avoid redundancy.
Returns
| Type | Description |
|---|---|
dict | A dictionary representing the JSON schema of the model including a definitions section for nested components. |