def list_transactions(owner_id, currency, trx_type=None, trx_status=None,
                      start=None, limit=None):
    wallet_obj = get_wallet(owner_id, currency)
    qs = models.Wallet.objects.get(id=wallet_obj.id).transactions
    if trx_type is not None:
        qs = qs.filter(trx_type=trx_type)
    if trx_status is not None:
        qs = qs.filter(trx_status=trx_status)
    return qs.all()[start:limit]
BSON regular expression data.
dataset/ETHPy150Open uppsaladatavetare/foobar-api/src/wallet/api.py/list_transactions--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/bson/regex.py/Regex.__init__