falconry/falcon

Use `ParamSpec` to type LRU cache decorators

Open

#2 629 ouverte le 25 avr. 2026

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)Python (925 forks)batch import
enhancementgood first issuetyping

Métriques du dépôt

Stars
 (9 293 stars)
Métriques de merge PR
 (Merge moyen 2j 7h) (9 PRs mergées en 30 j)

Description

See here: https://github.com/falconry/falcon/pull/2599/changes#r2716854330.

Decorators like falcon.util.misc._lru_cache_* can be type using ParamSpec, allowing us to get rid of a bunch of typing ignores.

Guide contributeur