]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commit
🐛 Fix cached dependencies when using a dependency in `Security()` and other places...
authorlaggardkernel <laggardkernel@users.noreply.github.com>
Tue, 23 Aug 2022 13:30:24 +0000 (21:30 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Aug 2022 13:30:24 +0000 (13:30 +0000)
commitb993b4af287e63904b675ba2ee1c232e86f2b072
treee59071850678e4ade1d998c4fc05c11d7923f3f0
parent982911f08f11ceb10ad8bba34ec22095d6018856
🐛 Fix cached dependencies when using a dependency in `Security()` and other places (e.g. `Depends()`) with different OAuth2 scopes (#2945)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
fastapi/dependencies/utils.py
tests/test_dependency_cache.py