ganga.GangaCore.GPIDev.Lib.File.File module

Represent the files, both local and remote and provide an interface to transparently get access to them.

Typically in the context of job submission, the files are copied to the directory where the application runs on the worker node. The ‘subdir’ attribute influances the destination directory. The ‘subdir’ feature is not universally supported however and needs a review.

ganga.GangaCore.GPIDev.Lib.File.File.const_lock

This is a context manager which acquires the const write lock on the object’s root object.

This lock acquires exclusive access over an object tree to prevent it from changing. Reading schema attributes on the object is still allowed but changing them is not. Only one thread can hold this lock at once.