Open TOTom opened 1 week ago
Can you please provide a Minimal, Reproducible Example and use code tags to make the code more readable?
Also, does it change anything if you specify your route using async
?
async def whoami():
return {"userinfo": "Hello World"}
Can you please provide a Minimal, Reproducible Example and use code tags to make the code more readable?
Also, does it change anything if you specify your route using
async
?async def whoami(): return {"userinfo": "Hello World"}
it works well after add "async".
Thanks. I'll look into that soon, ideally the library should support both sync and async routes.
demo code:
if I remove "require_permission" , it works well.
trace log:
os : windows 10 pro python: Python 3.11.0b4 pip list output: