Skip to content

Commit

Permalink
v1.0.1: Removed FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddhantSadangi committed Aug 15, 2023
1 parent a954548 commit 2f1a2cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/st_supabase_connection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from streamlit.connections import ExperimentalBaseConnection
from supabase import Client, create_client

__version__ = "1.0.0"
__version__ = "1.0.1"


class SupabaseConnection(ExperimentalBaseConnection[Client]):
Expand Down Expand Up @@ -487,7 +487,6 @@ def upload_to_signed_url(
files=_file,
)
elif source == "hosted":
# FIXME: Uploads 0 byte file
with open(file, "rb") as f_obj:
_file = {"file": (filename, f_obj, mimetypes.guess_type(file)[0])}
response = self.client.storage.from_(bucket_id)._request(
Expand Down

0 comments on commit 2f1a2cc

Please sign in to comment.