Skip to content

Commit 6b5a6b3

Browse files
Add verify
1 parent 5fbdaea commit 6b5a6b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

supabase_functions/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010

1111
@overload
1212
def create_client(
13-
url: str, headers: dict[str, str], *, is_async: Literal[True]
13+
url: str, headers: dict[str, str], *, is_async: Literal[True], verify: bool
1414
) -> AsyncFunctionsClient: ...
1515

1616

1717
@overload
1818
def create_client(
19-
url: str, headers: dict[str, str], *, is_async: Literal[False]
19+
url: str, headers: dict[str, str], *, is_async: Literal[False], verify: bool
2020
) -> SyncFunctionsClient: ...
2121

2222

2323
def create_client(
24-
url: str, headers: dict[str, str], *, is_async: bool
24+
url: str, headers: dict[str, str], *, is_async: bool, verify: bool = True,
2525
) -> Union[AsyncFunctionsClient, SyncFunctionsClient]:
2626
if is_async:
27-
return AsyncFunctionsClient(url, headers)
27+
return AsyncFunctionsClient(url, headers, verify)
2828
else:
29-
return SyncFunctionsClient(url, headers)
29+
return SyncFunctionsClient(url, headers, verify)

0 commit comments

Comments
 (0)