Igor Yudytskiy

Results 3 comments of Igor Yudytskiy

I would not recomend to remove each_item=True parameter from validators. Just import Set and replace Sequence with Set: ``` -from typing import Optional, Union, Sequence, List +from typing import Optional,...

> If you want to reference an `id` field created in this manner as a foreign key, make sure to do it like this: > > ```python > customer_id: int...

To make it work you should do: ```customer_id: int = Field(sa_column=Column(BigInteger(), ForeignKey('customer.id')))```