Bases: object
Translating mechanism one properties to another.
Mechanism uses list of rules, each defines by this class, and can be executed. Working principe: during resource creating after properties defining resource take list of rules, specified by method translation_rules, which should be overloaded for each resource, if it’s needed, and execute each rule using translate_properties method. Next operations are allowed:
list-type values can be added to such properties. Using for other cases is prohibited and will be returned with error.
for all types of properties. Note, that if property has list type, then value will be replaced for all elements of list, where it needed. If element in such property must be replaced by value of another element of this property, value_name must be defined.
type, then deleting affects value in all list elements.
the finder function. Finders may require an additional entity key.