summaryrefslogtreecommitdiffstats
path: root/tests/test_deps.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-03-29 20:39:17 -0700
committerBryan Newbold <bnewbold@archive.org>2021-03-29 20:39:19 -0700
commitfc6ebef14cf3398ac1664b9f585d6ed5e7caf609 (patch)
tree4ce827ec41368209bbe61793108a6083742df5bd /tests/test_deps.py
parentb6ea443af3b1a304a964c19b45c4cbec9e751dc0 (diff)
downloadfatcat-scholar-fc6ebef14cf3398ac1664b9f585d6ed5e7caf609.tar.gz
fatcat-scholar-fc6ebef14cf3398ac1664b9f585d6ed5e7caf609.zip
don't use async endpoints for sync implementations
Embarassingly, I didn't know this was an option in FastAPI! Knew that running `await` on a function that was internally doing blocking calls was really bad, but didn't know the framework had such a simple way to avoid the problem. This significantly resolves operational concerns with the current service.
Diffstat (limited to 'tests/test_deps.py')
0 files changed, 0 insertions, 0 deletions