def next_object(self):
"""Get next GridOut object from cursor."""
grid_out = super(MotorGridOutCursor, self).next_object()
if grid_out:
return MotorGridOut(self.collection, delegate=grid_out)
else:
# Exhausted.
return None
评论列表
文章目录