Sebastián Ramírez
1 min readFeb 11, 2020

--

If you want to use async functions, that would be the best option. If you are already familiar with PyMongo, then you can just use normal def functions and use it as you normally do. Other than that, I wouldn't know much more about their differences.

--

--

Sebastián Ramírez
Sebastián Ramírez

Written by Sebastián Ramírez

Creator of FastAPI and Typer. Dev at Exposion AI. APIs, Deep Learning/Machine Learning, full-stack distributed systems, SQL/NoSQL, Python, Docker, JS, TS, etc.

No responses yet