feat: use async_lru for caching

This commit is contained in:
2026-05-07 18:33:16 -04:00
parent 6bef88fde6
commit aeb9e0d9b7
6 changed files with 52 additions and 33 deletions
+6 -1
View File
@@ -50,13 +50,17 @@ cli = [
metrics = [
"prometheus_client>=0.20.0",
]
security = [
"async-lru>=1.0",
"httpx>=0.25.0",
]
pytest = [
"httpx>=0.25.0",
"pytest-xdist>=3.0.0",
"pytest>=8.0.0",
]
all = [
"fastapi-toolsets[cli,metrics,pytest]",
"fastapi-toolsets[cli,metrics,pytest,security]",
]
[project.scripts]
@@ -73,6 +77,7 @@ dev = [
"ty>=0.0.1a0",
]
tests = [
"async-lru>=1.0",
"coverage>=7.0.0",
"httpx>=0.25.0",
"pytest-anyio>=0.0.0",