jmsunseri
12/29/2021, 2:45 PMJ0
12/29/2021, 3:05 PMsupabase-py
pyproject.toml and change the hash to the latest hash before running install again
Here's the relevant section:
[tool.poetry.dependencies]
python = "^3.7"
postgrest-py = {git = "https://github.com/supabase-community/postgrest-py.git", rev = "c8ba57af60202e5cb98a5388a11cda9954cfd75d"}
realtime-py = "^0.1.2"
gotrue = {git = "https://github.com/supabase-community/gotrue-py.git", rev = "9ba3192dbdccd2f02a4819b52dd6cf51095af7e7"}
httpx = ">=0.19,<0.22"
jmsunseri
12/29/2021, 3:08 PMAnoushk
12/29/2021, 3:12 PMJ0
12/29/2021, 3:13 PMAnoushk
12/29/2021, 3:13 PMJ0
12/29/2021, 3:13 PMmatch
commandJ0
12/29/2021, 3:16 PMpyproject.toml
with the snippet above
3. Do poetry install
You should be able to get the latest version of postgrest-pyjmsunseri
12/29/2021, 3:16 PMAnoushk
12/29/2021, 3:17 PMjmsunseri
12/29/2021, 3:42 PMwillm
12/29/2021, 3:51 PMAnoushk
12/29/2021, 4:10 PMjmsunseri
12/29/2021, 4:17 PMktosiek
12/29/2021, 4:19 PMjmsunseri
12/29/2021, 4:19 PMgaryaustin
12/29/2021, 4:42 PMjmsunseri
12/29/2021, 5:32 PMjmsunseri
12/29/2021, 5:41 PMxtc
12/29/2021, 6:24 PMktosiek
12/29/2021, 6:37 PMDeleted User
12/29/2021, 6:57 PMconst { data: user, error } = await supabase.auth.api.generateLink({
type: 'invite',
email: 'test@gmail.com'
});
But i get an error message like this:
{
message: 'Could not read body: json: cannot unmarshal object into Go struct field GenerateLinkParams.type of type string',
status: 400
}
What's wrong? What's the difference beetween signup / invite? Do we have a verify type?
3) How to initialize a session when a user signIn? How the UI (React) can understand if a user is authenticated or not?silentworks
12/29/2021, 7:13 PMScott P
12/29/2021, 7:19 PMNull
12/29/2021, 9:30 PMwmd
12/29/2021, 10:10 PMwmd
12/29/2021, 10:10 PMktosiek
12/29/2021, 11:02 PMecchochan
12/30/2021, 4:37 AMwillm
12/30/2021, 5:41 AM