def add(self, *values): # Returns an update action that appends the given values to a set or mathematically adds a value to a number value = values[0] if len(values) == 1 else values return AddAction(self, self._to_operand(value))
def update(self, subset): # Returns an update action that adds the subset to this set attribute return AddAction(self, self._to_operand(subset))
def add(self, value): # Returns an update action that appends the given value to a set or mathematically adds it to a number return AddAction(self, self._to_operand(value))