def clear_api_path_map_cache(self):
        self._api_path_cache = None
        for api_provider in self.api_providers:
            if six.get_method_self(
                api_provider.clear_api_path_map_cache,
            ) is not None:
                api_provider.clear_api_path_map_cache()
Handles a key being pressed within the editor.
dataset/ETHPy150Open django-ddp/django-ddp/dddp/api.py/APIMixin.clear_api_path_map_cache--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/code_editor.py/SourceEditor.key_pressed