def __call__(self, request):
        if not self._match(request):
            return None

        if len(self._responses) > 1:
            response_matcher = self._responses.pop(0)
        else:
            response_matcher = self._responses[0]

        self._add_to_history(request)
        return response_matcher.get_response(request)
dataset/ETHPy150Open openstack/requests-mock/requests_mock/adapter.py/_Matcher.__call__/original