Closed mathatan closed 2 months ago
In your example above you are showing you instantiating the client inside a class and then the later call is showing you calling supabase
directly. I have no idea where this supabase
is coming from. I can't see any bugs here. Please provide a reproducible example repository.
Closing this out as there was no reply from OP.
Bug report
Describe the bug
Trying to create a client with
create_async_client
results inTypeError: object NoneType can't be used in 'await' expression
errors if the session is not defined before get_session is called with tokens. (or in any case when data is set toNone
before trying to retrieve it)To Reproduce
Initialize session with (or similar):
Then later call (against the client instance initialized in code above):
Expected behavior
No thrown errors
System information
langchain serve
Additional context
PR with a fix: https://github.com/supabase-community/auth-py/pull/536