equal
deleted
inserted
replaced
137 result += objs |
137 result += objs |
138 return result |
138 return result |
139 |
139 |
140 # dynamic selection methods ################################################ |
140 # dynamic selection methods ################################################ |
141 |
141 |
142 @deprecated('[3.6] use select instead of object_by_id') |
|
143 def object_by_id(self, oid, *args, **kwargs): |
142 def object_by_id(self, oid, *args, **kwargs): |
144 """return object with the given oid. Only one object is expected to be |
143 """return object with the given oid. Only one object is expected to be |
145 found. |
144 found. |
146 |
145 |
147 raise `ObjectNotFound` if not object with id <oid> in <registry> |
146 raise `ObjectNotFound` if not object with id <oid> in <registry> |