@request_method_decorator
def _get_self(resource, *args, **kwargs):
    return HttpRequest(resource._links['self']['href'], query_args=kwargs)
Sets this instance to be the currently in-scope instance of its class.
dataset/ETHPy150Open reviewboard/rbtools/rbtools/api/resource.py/_get_self--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/context_local.py/ContextLocal.__enter__