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

replacing asyncio.run with run_sync #25

Merged
merged 2 commits into from
Dec 16, 2020
Merged

replacing asyncio.run with run_sync #25

merged 2 commits into from
Dec 16, 2020

Conversation

dantownsend
Copy link
Member

There were still a few places which used asyncio.run to run coroutines synchronously - but piccolo.utils.sync.run_sync accommodates more edge cases, so using that instead.

@lgtm-com
Copy link

lgtm-com bot commented Dec 15, 2020

This pull request introduces 1 alert when merging b6bc76e into 0d02fc1 - view on LGTM.com

new alerts:

  • 1 for Module is imported with 'import' and 'import from'

@dantownsend dantownsend merged commit c034dc6 into master Dec 16, 2020
@dantownsend dantownsend deleted the using_run_sync branch January 19, 2021 23:38
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

1 participant