def get_instance(self, request_id):
    with self._lock:
      return self._request_id_to_instance.get(request_id, None)
:return: index of an item with name, or -1 if not found
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/wsgi_request_info.py/WSGIRequestInfo.get_instance--crossover with--dataset/ETHPy150Open gitpython-developers/GitPython/git/objects/tree.py/TreeModifier._index_by_name