avid.common.workflow.initSession
- avid.common.workflow.initSession(sessionPath, name=None, expandPaths=False, bootstrapArtefacts=None, autoSave=False, interim_session_save=False, interim_save_interval=1, debug=False, structDefinition=None, overwriteExistingSession=False, initLogging=True, updateBootstrap=False)
Convenience method to init a session and load the artefact list of the if it is already present.
- Parameters:
sessionPath – Path of the stored artefact list the session should use and the rootpath for the new session. If no artefact list is present it will just be the rootpath of the new session.
name – name of the session. If not set it will be ‘<session file name>_content’
structDefinition – Path to the structure definition file.
autoSave – Indicates if the session should be saved when a session requested_scope is left and Session.__exit__() is called
overwriteExistingSession – Indicates