Closed ccauet closed 2 years ago
Hi! This is a bug. I'll fix it today. Thank you for the catch!
This is a bug. I'll fix it today.
😅
Thanks a lot
@ccauet, it should be fixed in 1.13.1
. Please, try
Yes, I can confirm, it now works as expected. Thanks a lot! 👍
Great! Thank you :)
Describe the bug When trying to insert a new document into the MongoDB an error is thrown.
More Details
To Reproduce
(Spin up a local test MongoDB with
docker run -it -p "27017:27017" mongo
)This is a MWE
Send some example data
deps
Expected behavior I would except the document inserted and no problem due to async stuff.
Additional context I'm pretty sure it has something to do with FastAPI or even Starlette underneath, but it only starts happing after adding the
.create()
step. So, somehow I'm opening this issue to get some understanding what happens and maybe where to look next.