From 8446a6586cd65af5a67d9cd9d8b686609b4edb83 Mon Sep 17 00:00:00 2001 From: Audrique Date: Mon, 22 Dec 2025 11:44:31 +0100 Subject: [PATCH] Remove wrong docstring --- pynamodb/models.py | 1 - 1 file changed, 1 deletion(-) 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: