ormar
ormar copied to clipboard
Error awaiting None
Describe the bug
When running tests on FreeBSD, I get the error that None
can not be awaited. Given how initialize_models is defined, it does implicitly return None
. Adding dummy corrutine on that line like return asyncio.sleep(0)
"fixes" the problem. I'm not sure if it's only FreeBSD or some combination of versions of python (3.9 here) and libraries. In any case, I can send a PR, but what would be accepted approach? While my hack works, I doubt it's acceptable.