makridenko / supadantic

Supadantic is a small Python library that allows you to manage Supabase tables through Pydantic models.
https://makridenko.github.io/supadantic/
MIT License
24 stars 2 forks source link

Type `List[str]` not working properly #22

Closed makridenko closed 2 months ago

makridenko commented 2 months ago

class User(BaseSBModel):
    some_field = List[str]

user = User(some_field=['foo', 'bar'])
user.save() # Error (supabase SDK returns "['foo', 'bar']")