Pyright has limits regarding the maximum cyclomatic complexity and statement count of a module. If a module exceeds such a limit, Pyright refuses to analyze its types, and all of the exported types become Any.
This is a problem for us because the ORM library we use, prisma-client-py, generates huge monolithic type and model files, which we recently found out are close to Pyright's limit.
We need to ensure the continued functionality of the type-checks on our codebase.