Generic Version Rule Class DocumentationΒΆ

class eptransition.rules.version_rule.VersionRule(end_version)[source]

Bases: eptransition.rules.base_rule.TransitionRule

This class implements, in a generic fashion, the transition rule for the Version object. By passing in the identifier for the target version, the rules are set up so this doesn’t have to change for each version.

Parameters:end_version – The new value for the version object’s single field: Version ID
get_name_of_object_to_transition()[source]
get_names_of_dependent_objects()[source]
transition(core_object, dependent_objects)[source]