-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
938 Improve
create_pydantic_model
for multidimensional arrays (#939)
* handle multidimensional arrays in pydantic * make sure the inner type is also correct for example, if it's `Array(Array(Varchar()))`, the inner `Varchar` should be `constr`. * ignore type warning
- Loading branch information
1 parent
2322a07
commit 0e2ec8a
Showing
2 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters