⬆️ update dependency

This commit is contained in:
yanyongyu
2021-12-16 16:20:33 +08:00
parent de7c51a518
commit acbb886942
2 changed files with 12 additions and 12 deletions

View File

@ -18,6 +18,6 @@ def dependency(event: Event):
@test.handle()
@test2.handle()
async def handle(x: Event = Depends(dependency)):
async def handle(x: Event = Depends(dependency, use_cache=True)):
# test dependency
return x