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
While I don't think the "pred" parameter is useful, adding a "default=None" optional parameter would be very handy (for the same reasons it is handy in various other getter operations)
The text was updated successfully, but these errors were encountered:
(NB since “first” returns None instead of blowing up, you can always do first(…) or yourdefault but you’re right that one of the points of “first” is to reduce clutter like that. :)
While I don't think the "pred" parameter is useful, adding a "default=None" optional parameter would be very handy (for the same reasons it is handy in various other getter operations)
The text was updated successfully, but these errors were encountered: