#15647: in_bulk() should not type check its input
------------------------------------------+---------------------------
Reporter: calvinspealman | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Keywords: | Triage Stage: Unreviewed
Has patch: 0 |
------------------------------------------+---------------------------
#12251 added additional types it will allow, but why does it typecheck at
all? For example, I wanted to pass it a ValuesList, which had come from
queryset.values_list('id', flat=True), but I don't just want another type
added to the assert. Can the assert be removed entirely? it should work
with any iterable I pass it.
--
Ticket URL: <http://code.djangoproject.com/ticket/15647>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.