Changes between Initial Version and Version 1 of Ticket #36426


Ignore:
Timestamp:
May 31, 2025, 7:47:44 AM (4 months ago)
Author:
Jacob Walls
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36426 – Description

    initial v1  
    2929We could adjust the docs, but at a glance we could probably instead adjust the implementation to just `next()` instead of `[0]` and accept iterables as documented.
    3030
    31 django-stubs [https://github.com/typeddjango/django-stubs/blob/5bb841674610e88a162475b7ecf2e950a92c23a8/django-stubs/db/models/query.pyi#L247 types] the argument as `Model[Iterable]`.
     31django-stubs [https://github.com/typeddjango/django-stubs/blob/5bb841674610e88a162475b7ecf2e950a92c23a8/django-stubs/db/models/query.pyi#L247 types] the argument as `Iterable[_Model]`.
Back to Top