def get_queryset_from_id(klass, id):
    def target_func(*args, **kwargs):
        return klass.objects.filter(id=id)
    return target_func
Connect to default bitcoin instance owned by this user, on this machine.
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/common/permissions/utils.py/get_queryset_from_id--crossover with--dataset/ETHPy150Open bitxbay/BitXBay/bitcoin/__init__.py/connect_to_local