diff --git a/pynamodb/models.py b/pynamodb/models.py index c75e99b3..8e14918e 100644 --- a/pynamodb/models.py +++ b/pynamodb/models.py @@ -422,7 +422,6 @@ def update(self, actions: List[Action], condition: Optional[Condition] = None, * specifies whether only to update if the version matches the model that is currently loaded. Set to `False` for a 'last write wins' strategy. Regardless, the version will always be incremented to prevent "rollbacks" by concurrent :meth:`save` calls. - :raises ModelInstance.DoesNotExist: if the object to be updated does not exist :raises pynamodb.exceptions.UpdateError: if the `condition` is not met """ if not isinstance(actions, list) or len(actions) == 0: