def get_wallet(owner_id, currency):
    obj, created = models.Wallet.objects.get_or_create(
        owner_id=owner_id,
        balance_currency=currency
    )
    return obj
Return a wallet for given owner id.
dataset/ETHPy150Open uppsaladatavetare/foobar-api/src/wallet/api.py/get_wallet