Improve `create_pydantic_model` for multidimensional arrays
Closed this issue · 0 comments
dantownsend commented
If we have a table like this:
class MyTable(Table):
my_column = Array(Array(Varchar()))
We want the Pydantic type to be:
list[list[str]]
Currently it doesn't take multidimensional arrays fully into account - and will output something like list[list]
.