If you are using a third party library that communicates with something (a database, an API, the file system, etc.) and doesn't have support for using await, (this is currently the case for most database libraries), then declare your path operation functions as normally, with just def, like: If your application (somehow) doesn't have to communicate with anything else and wait for it to respond, us