Skip to content

1.4.0

Compare
Choose a tag to compare
@dantownsend dantownsend released this 11 Mar 21:55
· 95 commits to master since this release

Improved how create_pydantic_model handles Array columns:

  • Multidimensional arrays (e.g. Array(Array(Integer))) have more accurate types.
  • Array(Email()) now validates that each item in the list is an email address.
  • Array(Varchar(length=10)) now validates that each item is the correct length (i.e. 10 in this example).

Other changes

Some Pylance errors were fixed in the codebase.