def get_queryset(self):
        if self.request and self.request.user.is_anonymous():
            self.request.user = get_object_or_404(
                User, pk=settings.ANONYMOUS_USER_ID)

        return super(AnonymousUserMixin, self).get_queryset()
Initializes an instance of the TransferParameters class.
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/mixins/anonymous_user_mixin.py/AnonymousUserMixin.get_queryset--crossover with--dataset/ETHPy150Open OpenAssets/openassets/openassets/transactions.py/TransferParameters.__init__