Skip to content

Commit

Permalink
Merge pull request #15 from Danangjoyoo/hotfix/async-dispatch
Browse files Browse the repository at this point in the history
[HOTFIX] dispatch async
  • Loading branch information
Danangjoyoo committed Jan 27, 2024
2 parents 3f356f2 + d016119 commit a14ddd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oborpc/builder/_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def create_remote_responder_async(
async def final_func(request: Request):
request_body = await request.body()
body = json.loads(json.loads(request_body.decode()))
return await self.dispatch_rpc_request(instance, method, body)
return await self.dispatch_rpc_request_async(instance, method, body)

def build_router_from_instance(
self,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

VERSION = "0.1.0"
VERSION = "0.1.1"
DESCRIPTION = "An easy setup object oriented RPC. Built-in setup for FastAPI and Flask"

# Setting up
Expand Down

0 comments on commit a14ddd1

Please sign in to comment.