falconry/falcon

Use `ParamSpec` to type LRU cache decorators

Open

#2.629 aberto em 25 de abr. de 2026

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)Python (925 forks)batch import
enhancementgood first issuetyping

Métricas do repositório

Stars
 (9.293 stars)
Métricas de merge de PR
 (Mesclagem média 2d 7h) (9 fundiu PRs em 30d)

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.

Guia do colaborador