artellapipe.managers.dependencies module

Module that contains manager for DCC dependencies

class artellapipe.managers.dependencies.DependenciesManager

Bases: object

fix_dependencies_paths(file_path)

Tries to fix paths that are not valid in the given file :param file_path: str, file path we want to fix paths of

get_current_scene_dependencies()

Returns all dependencies that are currently loaded in current scene :return: list(str)

get_dependencies(file_path, parent_path=None, found_files=None)

Returns all dependencies that are currently loaded in the given file :param file_path: str, file path we want to get dependencies of :param parent_path: str :param found_files: list(str) :param fix_paths: bool :return: list(str)

update_dependencies(file_path)

Updates all the dependencies of the given file path :param file_path: str