Skip to content

Commit 1c71791

Browse files
juancarlospacosilentworks
authored andcommitted
Fix #814
1 parent 11403c0 commit 1c71791

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

supabase/_async/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ def functionTimeout(self, timeout: int):
199199
"""Set function timeout"""
200200
if self._functions:
201201
assert timeout > 0, "Timeout must be positive." # No negative timeout.
202-
self._functions._client.timeout = min(int(timeout), 150) # >150 returns HTTP-504.
202+
self._functions._client.timeout = min(
203+
int(timeout), 150
204+
) # >150 returns HTTP-504.
203205

204206
# async def remove_subscription_helper(resolve):
205207
# try:

0 commit comments

Comments
 (0)