Skip to content
This repository was archived by the owner on Sep 14, 2026. It is now read-only.

Correct AsyncGenerator typing annotations - #179

Open
puc9 wants to merge 1 commit into
Mayuri-Chan:mainfrom
puc9:FixAsyncGenTyping
Open

puc9 wants to merge 1 commit into
Mayuri-Chan:mainfrom
puc9:FixAsyncGenTyping

Conversation

@puc9

@puc9 puc9 commented Jun 10, 2026

Copy link
Copy Markdown

When using pyrofork from VSCode and a more recent Python target all the methods returning an AsyncGenerator are identified as potentially returning None since they are marked with Optional.

I'm not sure if this change creates a problem for earlier Python versions.

@codacy-production

codacy-production Bot commented Jun 10, 2026

Copy link
Copy Markdown

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant