Python Storage

Hello! I'm trying to upload a file though supabase-py. I take the file via an api route, and i try to do:

response = supabase.storage().from_("images").upload(filename, file)


But it seems the "file" should be a path? So i would need to store the file on my server, upload it to supabase and delete it later?
Was this page helpful?