def __init__(self, config_file: Text, domain_path: Optional[Text]=None, training_data_paths: Optional[Union[(List[Text], Text)]]=None, project_directory: Optional[Text]=None):
    self.config = rasa.shared.utils.io.read_model_configuration(config_file)
    if domain_path:
        self._domain_paths = [domain_path]
    else:
        self._domain_paths = []
    self._story_paths = []
    self._e2e_story_paths = []
    self._nlu_paths = []
    self._imports = []
    self._additional_paths = (training_data_paths or [])
    self._project_directory = (project_directory or os.path.dirname(config_file))
    self._init_from_dict(self.config, self._project_directory)
    extra_nlu_files = rasa.shared.data.get_data_files(training_data_paths, rasa.shared.data.is_nlu_file)
    extra_story_files = rasa.shared.data.get_data_files(training_data_paths, YAMLStoryReader.is_stories_file)
    self._story_paths += extra_story_files
    self._nlu_paths += extra_nlu_files
    logger.debug('Selected projects: {}'.format(''.join([f'''
-{i}''' for i in self._imports])))
    mark_as_experimental_feature(feature_name='MultiProjectImporter')
def __init__(self, config_file: Text, domain_path: Optional[Text]=None, training_data_paths: Optional[Union[(List[Text], Text)]]=None, project_directory: Optional[Text]=None):
    self.config = rasa.shared.utils.io.read_model_configuration(config_file)
    if domain_path:
        self._domain_paths = [domain_path]
    else:
        self._domain_paths = []
    self._story_paths = []
    self._e2e_story_paths = []
    self._nlu_paths = []
    self._imports = []
    self._additional_paths = (training_data_paths or [])
    self._project_directory = (project_directory or os.path.dirname(config_file))
    self._init_from_dict(self.config, self._project_directory)
    extra_nlu_files = rasa.shared.data.get_data_files(training_data_paths, rasa.shared.data.is_nlu_file)
    extra_story_files = rasa.shared.data.get_data_files(training_data_paths, YAMLStoryReader.is_stories_file)
    self._story_paths += extra_story_files
    self._nlu_paths += extra_nlu_files
    logger.debug('Selected projects: {}'.format(.join([f'
-{i}' for i in self._imports])))
    mark_as_experimental_feature(feature_name='MultiProjectImporter')