adaptivemd.FileAction¶
-
class
adaptivemd.FileAction(source)[source]¶ An Action that involves (at least) one file called source
Variables: source (File) – the source file for the action Methods
__init__(source)x.__init__(…) initializes x; see help(type(x)) for signature args()Return a list of args of the __init__ function of a class base()Return the most parent class actually derived from StorableMixin descendants()Return a list of all subclassed objects from_dict(dct)Reconstruct an object from a dictionary representation get_uuid()Create a new unique ID :returns: the unique number for an object in the project :rtype: long idx(store)Return the index which is used for the object in the given store. named(name)Attach a .name property to an object objects()Returns a dictionary of all storable objects to_dict()Convert object into a dictionary representation Attributes
ACTIVE_LONGCREATION_COUNTINSTANCE_UUIDaddedreturns: the list of files added to the project by this action base_clsReturn the base class base_cls_nameReturn the name of the base class clsReturn the class name as a string removedreturns: the list of files removed by this action requiredreturns: the necessary list of files to be functional -
required¶ Returns: the necessary list of files to be functional Return type: list of File
-
added¶ Returns: the list of files added to the project by this action Return type: list of File
-
removed¶ Returns: the list of files removed by this action Return type: list of File
-