Decision made whether to use def or async def
What is the exact difference of def and async def. For example both are used in the pytest. The aim is to find out whether there is a uniform rule for when def and async def should be used, or whether this varies depending on the pytest.
The following article might shed some light on this: https://fastapi.tiangolo.com/async/