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

def get_parent_location(self, location, **kwargs):

    with remove_ccx(location) as (location, restore):
        return restore(self._modulestore.get_parent_location(location, **kwargs))
