Expand description
Framework awareness — the dominant false-positive killer for Python dead-code analysis (RESEARCH.md §4). A symbol registered with a framework via a decorator (a Flask/FastAPI route, a Celery task, a pytest fixture, a Django signal receiver, a click/typer command, a Pydantic validator, …) is reached even with zero in-repo callers.
Matching is by the decorator’s final path segment, so app.route,
router.get, bp.cli.command, and pytest.fixture all match. This is a
curated data table — extend it freely; it ships as pure data.
Functions§
- is_
framework_ entry - True if any of this definition’s decorators marks it as a framework entry.
- is_
framework_ entry_ decorator - True if a single decorator path marks a symbol as a framework entry point.