-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Getting !!! TypeError: __init__() got an unexpected keyword argument 'file_size_limit' #71
Comments
I'm also getting this error. Could it be to do with the update to postgrest-py that happened in the last 18 hours? |
This is likely do to a change in the storage.buckets table adding new columns for coming features(?).... This changes was rolled out a few days ago here: supabase/storage#277 And likely just hit instances in the past day. |
Thanks for that - it's answered the question :D but is there anything I can do to fix this or do we need to wait for a dev? |
Seems like python cares about the structure of the buckets table for some reason, but as I mentioned in Discord I don't know anything about python. Is there away to turn off the "type checking" that is going on? Otherwise, if you could figure out in this python code what needs to be added to deal with the new columns and generate your own temp version that would be one way. I don't think it is wise, or possibly even possible, to delete those columns from storage.buckets until it gets fixed here as that might break the storage-api code. |
How long does it normally take to fix issues. I can assume this one isn't too difficult. |
This PR fixes the issue for me. Uninstall storage3 and install it with pip
|
confirm this fixes the issue. Hope the devs can merge in this fix and update the package. Thanks @ChartierLuc for putting this up 🔥 |
Hey team, Thanks for the quick PR! One of the Python Maintainers here - we'll review by end of day and have a release out by the end of the weekend :) |
published new release, feel free to ping me again if there are issues. Once again, thanks @ChartierLuc for the PR! |
Describe the bug
Using supabase 1.0.1 and storage3 0.5.0, i'm getting error
!!! TypeError: __init__() got an unexpected keyword argument 'file_size_limit'
The text was updated successfully, but these errors were encountered: