Skip to content

Commit

Permalink
Add missing type hints
Browse files Browse the repository at this point in the history
Co-authored-by: Anand <40204976+anand2312@users.noreply.github.com>
  • Loading branch information
dreinon and anand2312 authored Dec 16, 2021
1 parent 6413418 commit c11691f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion supabase/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def from_(self, table_name: str) -> RequestBuilder:
)
return query_builder.from_(table_name)

def rpc(self, fn, params) -> Coroutine[Any, Any, Response]:
def rpc(self, fn: str, params: Dict[Any, Any]) -> Coroutine[Any, Any, Response]:
"""Performs a stored procedure call.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion supabase/lib/storage_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ class SupabaseStorageClient(StorageBucketAPI):
def __init__(self, url: str, headers: Dict[str, str]):
super().__init__(url, headers)

def StorageFileAPI(self, id_: str):
def StorageFileAPI(self, id_: str) -> StorageFileAPI:
return StorageFileAPI(self.url, self.headers, id_)

0 comments on commit c11691f

Please sign in to comment.