- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for get_sub_counter (0.08 sec)
-
tests/test_dependency_cache.py
return count @app.get("/counter/") async def get_counter(count: int = Depends(dep_counter)): return {"counter": count} @app.get("/sub-counter/") async def get_sub_counter( subcount: int = Depends(super_dep), count: int = Depends(dep_counter) ): return {"counter": count, "subcounter": subcount} @app.get("/sub-counter-no-cache/") async def get_sub_counter_no_cache(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0)