You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently implementing a custom static files finder, and have been running into type errors when testing on the first alpha release of Django 5.2.
Looks like in 5.2, the all argument to the find method on all finders has been renamed to find_all. The all argument has been marked as deprecated, slated for removal in Django 6.1.
The stubs for all the finders should be updated to handle both arguments until all has been deprecated.
I'm currently implementing a custom static files finder, and have been running into type errors when testing on the first alpha release of Django 5.2.
Looks like in 5.2, the
all
argument to thefind
method on all finders has been renamed tofind_all
. Theall
argument has been marked as deprecated, slated for removal in Django 6.1.The stubs for all the finders should be updated to handle both arguments until
all
has been deprecated.Current stubs (
BaseFinder
):django-stubs/django-stubs/contrib/staticfiles/finders.pyi
Lines 11 to 14 in 960bf6e
Here's my attempt at fixing it (though I'm not totally sure about the overloads, a bit out of my element here):
Happy to submit a PR for this.
Relevant commits:
The text was updated successfully, but these errors were encountered: