-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joel Lee
authored and
Joel Lee
committed
Jan 31, 2021
1 parent
bd5d03b
commit 2fc2747
Showing
5 changed files
with
55 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .src import * | ||
from .client import Client | ||
from .client import Client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import gotrue | ||
|
||
|
||
class SupabaseAuthClient(gotrue.Client): | ||
def __init__(self,authURL, headers=None, detectSessionInUrl=False, autoRefreshToken=False, persistSession=False, localStorage=None): | ||
def __init__( | ||
self, | ||
authURL, | ||
headers=None, | ||
detectSessionInUrl=False, | ||
autoRefreshToken=False, | ||
persistSession=False, | ||
localStorage=None, | ||
): | ||
super().__init__(authURL) | ||
self.headers = headers | ||
self.detectSessionInUrl = detectSessionInUrl | ||
self.autoRefreshToken = autoRefreshToken | ||
self.persistSession = persistSession | ||
self.localStorage = localStorage | ||
self.localStorage = localStorage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
from postgrest_py import PostgrestClient | ||
class SupabaseQueryBuilder: | ||
def __init__(self): | ||
from postgrest_py.request_builder import RequestBuilder | ||
|
||
|
||
class SupabaseQueryBuilder(RequestBuilder): | ||
def __init__(self, session: AsyncClient, path: str): | ||
super().__init__(session, path) | ||
pass | ||
|
||
def on(self): | ||
pass | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,6 @@ def __init__(self): | |
|
||
def on(self): | ||
pass | ||
|
||
def subscribe(self): | ||
pass | ||
pass |