-
Notifications
You must be signed in to change notification settings - Fork 467
Open
Labels
integrationIntegration with external librariesIntegration with external libraries
Description
Background
With #2165 completed we can generate column hints for nested tables from Pydantic models. The goal is to modify make_hints and apply_hints to generate nested_hints containing column definitions found in nested Pydantic models.
Requirements
-
- modify or add a new function to
pydantic.pythat will recursively find nested tables (that correspond to lists of Pydantic models)
- modify or add a new function to
-
- use the above to generate nested hints (only columns I assume) in
make_hintsandapply_hints.
- use the above to generate nested hints (only columns I assume) in
-
- if nested_hints are already provided, merge hints from Pydantic with provided hints (enough to replace
columns)
- if nested_hints are already provided, merge hints from Pydantic with provided hints (enough to replace
-
- write tests and docs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
integrationIntegration with external librariesIntegration with external libraries
Type
Projects
Status
Todo