Skip to content

Conversation

@PredaaA
Copy link
Contributor

@PredaaA PredaaA commented Oct 29, 2025

Summary

Fixes warning DeprecationWarning
DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead

asyncio.iscoroutinefunction is deprecated in favor of inspect.iscoroutinefunction since 3.13 and makes a DeprecationWarning since 3.14.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@Jackenmen
Copy link
Contributor

Potentially relevant note about difference in behavior on older Python versions:
python/cpython#122858 (comment)

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.

2 participants