@classmethod
    def new_from_tuple(cls, tuple_):
        try:
            queryset, serializer, label = tuple_
        except __HOLE__:
            queryset, serializer = tuple_
            label = None
        query = Query(queryset, serializer, label)
        return query
dataset/ETHPy150Open Axiologue/DjangoRestMultipleModels/drf_multiple_model/mixins.py/Query.new_from_tuple