File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -221,8 +221,9 @@ def _init_storage_client(
221221 storage_url : str ,
222222 headers : Dict [str , str ],
223223 storage_client_timeout : int = DEFAULT_STORAGE_CLIENT_TIMEOUT ,
224+ verify : bool = True ,
224225 ) -> AsyncStorageClient :
225- return AsyncStorageClient (storage_url , headers , storage_client_timeout )
226+ return AsyncStorageClient (storage_url , headers , storage_client_timeout , verify )
226227
227228 @staticmethod
228229 def _init_supabase_auth_client (
@@ -245,10 +246,15 @@ def _init_postgrest_client(
245246 headers : Dict [str , str ],
246247 schema : str ,
247248 timeout : Union [int , float , Timeout ] = DEFAULT_POSTGREST_CLIENT_TIMEOUT ,
249+ verify : bool = True ,
248250 ) -> AsyncPostgrestClient :
249251 """Private helper for creating an instance of the Postgrest client."""
250252 return AsyncPostgrestClient (
251- rest_url , headers = headers , schema = schema , timeout = timeout
253+ rest_url ,
254+ headers = headers ,
255+ schema = schema ,
256+ timeout = timeout ,
257+ verify = verify ,
252258 )
253259
254260 def _create_auth_header (self , token : str ):
Original file line number Diff line number Diff line change @@ -221,8 +221,9 @@ def _init_storage_client(
221221 storage_url : str ,
222222 headers : Dict [str , str ],
223223 storage_client_timeout : int = DEFAULT_STORAGE_CLIENT_TIMEOUT ,
224+ verify : bool = True ,
224225 ) -> SyncStorageClient :
225- return SyncStorageClient (storage_url , headers , storage_client_timeout )
226+ return SyncStorageClient (storage_url , headers , storage_client_timeout , verify )
226227
227228 @staticmethod
228229 def _init_supabase_auth_client (
@@ -245,10 +246,15 @@ def _init_postgrest_client(
245246 headers : Dict [str , str ],
246247 schema : str ,
247248 timeout : Union [int , float , Timeout ] = DEFAULT_POSTGREST_CLIENT_TIMEOUT ,
249+ verify : bool = True ,
248250 ) -> SyncPostgrestClient :
249251 """Private helper for creating an instance of the Postgrest client."""
250252 return SyncPostgrestClient (
251- rest_url , headers = headers , schema = schema , timeout = timeout
253+ rest_url ,
254+ headers = headers ,
255+ schema = schema ,
256+ timeout = timeout ,
257+ verify = verify ,
252258 )
253259
254260 def _create_auth_header (self , token : str ):
You can’t perform that action at this time.
0 commit comments