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

Adds utils.is_async_callable() tests.test_utils module. #162

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

peterschutt
Copy link
Contributor

is_async_callable() is a replacement for iscoroutinefunction() that detects more cases and handles partial objects.

Copy link
Contributor

@Goldziher Goldziher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@peterschutt peterschutt force-pushed the issue-123-async-callable-detection branch from 5d66fb8 to 61483ca Compare June 21, 2022 09:52
`is_async_callable()` is a replacement for `iscoroutinefunction()` that detects more cases and handles partial objects.
@peterschutt peterschutt force-pushed the issue-123-async-callable-detection branch from 61483ca to 97d35c3 Compare June 21, 2022 09:55
@sonarcloud
Copy link

sonarcloud bot commented Jun 21, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@peterschutt peterschutt merged commit 9804e42 into main Jun 21, 2022
@peterschutt peterschutt deleted the issue-123-async-callable-detection branch June 21, 2022 10:02
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.

None yet

2 participants