From the way that Field aliases work in pydantic I thought that 'prod' would be interpreted as 'product_id'. Is this expected behaviour? Because if so perhaps a clarifying line in the docs to rename columns would help?
Thanks for your work with patito - it's shaping up great! I really like it and it's massively helping my projects!
Perhaps I misunderstand the way that
Field(alias = 'name')
should work in patitio, but I was surprised by these errors:From the way that Field aliases work in pydantic I thought that 'prod' would be interpreted as 'product_id'. Is this expected behaviour? Because if so perhaps a clarifying line in the docs to rename columns would help?
Thanks for your work with patito - it's shaping up great! I really like it and it's massively helping my projects!
Env details
Python 3.9.19 patitio 0.6.1 polars 0.20.31 pydantic 2.7.4