avid.common.artefact.fileHelper.load_artefact_collection_from_xml
- avid.common.artefact.fileHelper.load_artefact_collection_from_xml(filePath, expandPaths=False, rootPath=None, replace_if_exists=True, check_validity=True)
Loads a artefact list from a XML file. @param filePath Path where the artefact list is located or file like object that grants access to the list. @param expandPaths If true all relative url will be expanded by the rootPath If rootPath is not set, it will be the directory of filePath @param rootPath If defined any relative url in the list will expanded by the root path. If rootPath is set, expandPaths is implicitly true. @param check_validity If true, the outputs of existing artefacts will be checked to confirm validity