Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type List[str] not working properly #22

Closed
makridenko opened this issue Apr 29, 2024 · 0 comments · Fixed by #23
Closed

Type List[str] not working properly #22

makridenko opened this issue Apr 29, 2024 · 0 comments · Fixed by #23
Assignees
Labels
bug Something isn't working need to describe Need to describe feature

Comments

@makridenko
Copy link
Owner

makridenko commented Apr 29, 2024

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

user = User(some_field=['foo', 'bar'])
user.save() # Error (supabase SDK returns "['foo', 'bar']")
@makridenko makridenko added bug Something isn't working need to describe Need to describe feature labels Apr 29, 2024
@makridenko makridenko self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to describe Need to describe feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant