Skip to content

Commit

Permalink
Merge pull request #59 from SmartReports/dev
Browse files Browse the repository at this point in the history
update
  • Loading branch information
PaulMagos authored Nov 27, 2023
2 parents 13e4035 + 3950ee5 commit 3027145
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions django_storage_supabase/supabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from django.core.files.base import File
from django.utils import timezone
from django.utils.deconstruct import deconstructible
import supabase
from supabase import create_client

from django_storage_supabase.base import BaseStorage
from django_storage_supabase.compress import CompressedFileMixin, CompressStorageMixin
Expand Down Expand Up @@ -108,7 +108,7 @@ def client(self):
"Both SUPABASE_URL and SUPABASE_API_KEY must be "
"provided together."
)
self._client = supabase.create_client(supabase_url, supabase_api_key).storage
self._client = create_client(supabase_url, supabase_api_key).storage

return self._client

Expand Down
5 changes: 1 addition & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ djangorestframework==3.14.0
djangorestframework-guardian==0.3.0
exceptiongroup==1.1.3
filelock==3.13.1
gotrue==0.2.0
greenlet==3.0.0
h11==0.12.0
httpcore==0.12.*
httpx==0.16.1
idna==2.10
iniconfig==2.0.0
kombu==5.3.4
Expand All @@ -38,7 +35,6 @@ pipenv==2023.10.24
platformdirs==3.11.0
playwright==1.39.0
pluggy==1.3.0
postgrest-py==0.4.0
prompt-toolkit==3.0.41
psycopg2-binary==2.9.9
py==1.11.0
Expand Down Expand Up @@ -70,3 +66,4 @@ websockets==9.1
whitenoise==6.6.0
matplotlib~=3.8.2
supabase-py==0.0.2
supabase

0 comments on commit 3027145

Please sign in to comment.