ForeverAngry commented on code in PR #1880:
URL: https://github.com/apache/iceberg-python/pull/1880#discussion_r2027645539


##########
pyiceberg/table/update/snapshot.py:
##########
@@ -745,6 +763,8 @@ class 
ManageSnapshots(UpdateTableMetadata["ManageSnapshots"]):
 
     def _commit(self) -> UpdatesAndRequirements:
         """Apply the pending changes and commit."""
+        if not hasattr(self._transaction, "_apply"):
+            raise AttributeError("Transaction object is not properly 
initialized.")

Review Comment:
   i did, but it was because my tests were wrong, i meant to remove it. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to