Skip to main content

What it flags

An ORM query executes inside a Python loop instead of using eager loading or batching.

Example

An ORM query executes inside a Python for loop instead of eager loading or batching.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: