[Cubicweb] Proposal: new method ResultSet.one()

Denis Laxalde denis.laxalde at logilab.fr
Fri Dec 6 10:51:11 CET 2013

Sylvain Thénault a écrit :
> IMO rset.one() or rset.one_entity() with desired sanity check would be useful.

Agreed. I, for one, use req.find_one_entity() quite often. Having the 
counterpart on result set seems natural to me.

More information about the Cubicweb mailing list