All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
type hint
The return type of a generator function should be Generator or one of its supertypes.
Generator