You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when I add these 2 lines, the development environment stops working because of new error: TypeError: __init__() missing 2 required positional arguments: 'file_size_limit' and 'allowed_mime_types'
To Reproduce
f=open('test.txt', 'w')
f.write("HELLO WORLD")
f.close()
client=create_client(os.environ['SUPABASE_URL'], os.environ['SUPABASE_KEY'])
# create SOME_BUCKET in your supabaseclient.storage().get_bucket('SOME_BUCKET').upload('test.txt', 'test.txt')
Expected behavior
No error
Screenshots
/
Desktop (please complete the following information):
Ubuntu
Python 3.9
Additional context
/
The text was updated successfully, but these errors were encountered:
Describe the bug
In production environment I get the error in title. In local development however, I don't get that error. This is the stacktrace:
I solved this by adding 2 properties to
BaseBucket
intypes.py
:However when I add these 2 lines, the development environment stops working because of new error:
TypeError: __init__() missing 2 required positional arguments: 'file_size_limit' and 'allowed_mime_types'
To Reproduce
Expected behavior
No error
Screenshots
/
Desktop (please complete the following information):
Additional context
/
The text was updated successfully, but these errors were encountered: