'See the docs for xmodule.modulestore.mixed.MixedModuleStore'

def _clean_locator_for_mapping(self, locator):

    with remove_ccx(locator) as (locator, restore):
        return restore(self._modulestore._clean_locator_for_mapping(locator))
