Skip to content

Commit b60615d

Browse files
Apply suggestions from code review
Co-authored-by: Anand <40204976+anand2312@users.noreply.github.com>
1 parent 2971673 commit b60615d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

supafunc/_async/functions_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class AsyncFunctionsClient:
1010
def __init__(self, url: str, headers: Dict):
1111
self.url = url
1212
self.headers = {
13-
"User-Agent": f"supabase-py/storage3 v{__version__}",
13+
"User-Agent": f"supabase-py/functions-py v{__version__}",
1414
**headers,
1515
}
1616

supafunc/errors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def to_dict(self) -> FunctionsApiErrorDict:
3232

3333
class FunctionsHttpError(CustomFunctionsError):
3434
def __init__(self, message: str) -> None:
35-
CustomFunctionsError.__init__(
35+
super().__init__(
3636
self,
3737
message,
3838
"FunctionsHttpError",

0 commit comments

Comments
 (0)