Skip to content

Commit 04f4980

Browse files
authored
fix: make rpc function sync (#322)
1 parent 1209139 commit 04f4980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgrest/_async/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def from_table(self, table: str) -> AsyncRequestBuilder:
7878
"""Alias to :meth:`from_`."""
7979
return self.from_(table)
8080

81-
async def rpc(self, func: str, params: dict) -> AsyncRPCFilterRequestBuilder[Any]:
81+
def rpc(self, func: str, params: dict) -> AsyncRPCFilterRequestBuilder[Any]:
8282
"""Perform a stored procedure call.
8383
8484
Args:

0 commit comments

Comments
 (0)