def _init_from_dict(self, _dict: Dict[(Text, Any)], parent_directory: Text) -> None:
    imports = (_dict.get('imports') or [])
    imports = [os.path.join(parent_directory, i) for i in imports]
    imports = [os.path.abspath(i) for i in imports]
    import_candidates = []
    for i in imports:
        if ((i not in import_candidates) and (not self._is_explicitly_imported(i))):
            import_candidates.append(i)
    self._imports.extend(import_candidates)
    for p in import_candidates:
        self._init_from_path(p)
def _init_from_dict(self, _dict: Dict[(Text, Any)], parent_directory: Text) -> None:
    imports = (_dict.get('imports') or [])
    imports = [os.path.join(parent_directory, i) for i in imports]
    imports = [os.path.abspath(i) for i in imports]
    import_candidates = []
    for i in imports:
        if ((i not in import_candidates) and (not self._is_explicitly_imported(i))):
            import_candidates.append(i)
    self._imports.extend(import_candidates)
    for p in import_candidates:
        self._init_from_path(p)