Closed knopki closed 6 months ago
Hello @knopki! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
metis_client/metis.py
:Line 75:80: E501 line too long (81 > 79 characters) Line 82:80: E501 line too long (88 > 79 characters)
tests/test_metis.py
:Line 49:80: E501 line too long (80 > 79 characters) Line 62:80: E501 line too long (88 > 79 characters)
@knopki what I really like is that we don't need any special keyword e.g. async=False
the detection is fully automatic :+1::+1::+1:
Closes #46 Detect running event loop. If running loop is present, then run coroutine in a blocking thread. Also, throw a warning about API misuse.
asgiref
dependency is thrown away.