Skip to content

Conversation

sergue1
Copy link
Contributor

@sergue1 sergue1 commented May 28, 2024

Fixes #263.

This PR leads to some code duplication, since Pydantic does not expose api to include default_factory into JSON schema, see https://github.com/pydantic/pydantic/blob/main/pydantic/json_schema.py#L1046. Let me know if there is a better way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Form to support default_factory

1 participant