def get_queryset(self):
        # noinspection PyUnresolvedReferences
        user_groundstations = segment_models.GroundStation.objects.filter(
            user=self.request.user
        ).all()
        return self.model.objects.filter(
            groundstation__in=user_groundstations
        )
QuerySet handler.
dataset/ETHPy150Open satnet-project/server/services/communications/views.py/PassiveMessages.get_queryset