def get_request_index_hash_key(session, stub_number): """ Return the self.hash_cls() of the scenario_name+matchers """ scenario_key = session['scenario'] session_name = session['session'] matching_stub = StubCache(session['stubs'][stub_number], scenario_key, session_name) return matching_stub.request_index_id()