Skip to content

Commit 5e5b1e4

Browse files
'Refactored by Sourcery' (#574)
Co-authored-by: Sourcery AI <>
1 parent a098bc4 commit 5e5b1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supabase/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def _get_token_header(self):
232232
}
233233

234234
def _listen_to_auth_events(self, event: AuthChangeEvent, session):
235-
if event == "SIGNED_IN" or event == "TOKEN_REFRESHED" or event == "SIGNED_OUT":
235+
if event in ["SIGNED_IN", "TOKEN_REFRESHED", "SIGNED_OUT"]:
236236
# reset postgrest and storage instance on event change
237237
self._postgrest = None
238238
self._storage = None

0 commit comments

Comments
 (0)