Skip to content

Commit 3b1225e

Browse files
authored
Merge pull request lightspeed-core#1665 from tisnik/lcore-2100-fixed-new-type-issue
LCORE-2100: fixed new type issue
2 parents ead48e8 + a8a9cd4 commit 3b1225e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/okp_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ configuration, see the [RAG Configuration Guide](rag_guide.md).
1818
* [Introduction](#introduction)
1919
* [Prerequisites](#prerequisites)
2020
* [Step 1: Launch OKP](#step-1-launch-okp)
21-
* [Step 2: Setup llamastack config environment variables](#step-2-setup-llamamstack-config-environment-variables)
21+
* [Step 2: Setup llamastack config environment variables](`#step-2-setup-llamastack-config-environment-variables`)
2222
* [Step 3: Install Lightspeed Stack Dependencies](#step-3-install-lightspeed-stack-dependencies)
2323
* [Step 4: Configure Lightspeed Stack](#step-4-configure-lightspeed-stack)
2424
* [Step 5: Launch Lightspeed Stack](#step-5-launch-lightspeed-stack)

src/authentication/jwk_token.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929

3030
# Global JWK registry to avoid re-fetching JWKs for each request. Cached for 1
3131
# hour, keys are unlikely to change frequently.
32-
_jwk_cache: TTLCache[str, KeySet] = TTLCache(maxsize=3, ttl=3600)
32+
_jwk_cache: TTLCache[str, KeySet] = TTLCache(
33+
maxsize=3, ttl=3600
34+
) # pyright: ignore[reportAssignmentType]
3335
# Ideally this would be an RWLock, but it would require adding a dependency on
3436
# aiorwlock
3537
_jwk_cache_lock = Lock()

0 commit comments

Comments
 (0)