Open LuYanFCP opened 1 week ago
Hi @LuYanFCP
The AsyncMock seems introduced in python 3.8+
I guess you can put custom async mock implementation (or just copy from 3.8) into https://github.com/vitalik/django-ninja/tree/master/ninja/compatibility folder and use it
Hi @LuYanFCP
The AsyncMock seems introduced in python 3.8+
I guess you can put custom async mock implementation (or just copy from 3.8) into https://github.com/vitalik/django-ninja/tree/master/ninja/compatibility folder and use it
I will do it.
As a new open-source contributor, I recently encountered the same issue described in #1252 . I've created a simple patch to address this problem. fixes #1252