@property
    def first(self):
        def _transform(xs):  # pylint: disable=missing-docstring, invalid-name
            try:
                return [iter(xs).next()]
            except StopIteration:
                return []

        return self.transform(_transform, 'first')
Dispatches to the first delivery time or to the form to add a delivery
dataset/ETHPy150Open edx/bok-choy/bok_choy/query.py/Query.first--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/manage/views/delivery_times.py/manage_delivery_times