cwltool.mutation ================ .. py:module:: cwltool.mutation .. autoapi-nested-parse:: Support for InplaceUpdateRequirement. Classes ------- .. autoapisummary:: cwltool.mutation.MutationManager Module Contents --------------- .. py:class:: MutationManager Lock manager for checking correctness of in-place update of files. Used to validate that in-place file updates happen sequentially, and that a file which is registered for in-place update cannot be read or updated by any other steps. .. py:attribute:: generations :type: dict[str, _MutationState] .. py:method:: register_reader(stepname, obj) Register a file as being read by a particular step. .. py:method:: release_reader(stepname, obj) Unregister a file as being read by a particular step. .. py:method:: register_mutation(stepname, obj) Register a file as being modified by a particular step. .. py:method:: set_generation(obj) Register a File for mutation tracking. .. py:method:: unset_generation(obj) Remove the mutation tracking metadata from a File.