File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ Deploy your function as per documentation.
12
12
13
13
``` python3
14
14
import asyncio
15
- from supafunc import FunctionsClient
15
+ from supafunc import AsyncFunctionsClient
16
16
async def run_func ():
17
- fc = FunctionsClient (" https://<project_ref>.functions.supabase.co" , {})
17
+ fc = AsyncFunctionsClient (" https://<project_ref>.functions.supabase.co" , {})
18
18
res = await fc.invoke(" payment-sheet" , {" responseType" : " json" })
19
19
20
20
if __name__ == " __main__" :
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ upload_to_vcs_release = true
36
36
branch = " main"
37
37
changelog_components = " semantic_release.changelog.changelog_headers,semantic_release.changelog.compare_url"
38
38
39
+ [tool .pytest .ini_options ]
40
+ asyncio_mode = " auto"
41
+
39
42
[build-system ]
40
43
requires = [" poetry-core>=1.0.0" ]
41
44
build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments