def Handle(self, args, token=None):
    hunt = aff4.FACTORY.Open(HUNTS_ROOT_PATH.Add(args.hunt_id),
                             aff4_type="GRRHunt", token=token)

    context = api_call_handler_utils.ApiDataObject().InitFromDataObject(
        hunt.state.context)

    return ApiGetHuntContextResult(context=context)
Retrieves the context for a hunt.
dataset/ETHPy150Open google/grr/grr/gui/api_plugins/hunt.py/ApiGetHuntContextHandler.Handle