Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix type annotation from static checks 597 #148

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

maxfischer2781
Copy link
Owner

This PR fixes the Static Checks #597 report:

asyncstdlib/asynctools.py#L79
Method "aclose" overrides class "AsyncGenerator" in an incompatible manner
  Return type mismatch: base method returns type "Coroutine[Any, Any, None]", override returns type "Awaitable[None]"
    "Awaitable[None]" is incompatible with "Coroutine[Any, Any, None]" (reportIncompatibleMethodOverride)

The report is correct and code has been adjusted accordingly.

@maxfischer2781 maxfischer2781 merged commit 806e85e into master Jul 15, 2024
20 checks passed
@maxfischer2781 maxfischer2781 deleted the maintenance/static_checks_597 branch July 15, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant