sbdchd / django-types

:doughnut: Type stubs for Django
MIT License
186 stars 62 forks source link

django.test.client: add AsyncClient and dependencies #241

Closed david-flok closed 4 months ago

david-flok commented 4 months ago

This seems to work for me but I'm not sure how one generally goes about generating these signatures nor how to validate them.

sbdchd commented 4 months ago

Looks good!

In terms of generating signatures you can use stubgen or manually write them

for validation you can try the version of Django-types with your type checker and go from there or write some statements in one of the test .py files in the project to exercise the types