[Zodb-checkins] CVS: Zope/lib/python/ZODB - BaseStorage.py:1.26

Toby Dickenson tdickenson@geminidataloggers.com
Wed, 13 Nov 2002 06:26:36 -0500


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv18051

Modified Files:
	BaseStorage.py 
Log Message:
Added empty implementation of getExtensionMethods to storage base class

=== Zope/lib/python/ZODB/BaseStorage.py 1.25 => 1.26 ===
--- Zope/lib/python/ZODB/BaseStorage.py:1.25	Sun Oct 20 13:02:37 2002
+++ Zope/lib/python/ZODB/BaseStorage.py	Wed Nov 13 06:26:35 2002
@@ -231,6 +231,18 @@
         raise POSException.Unsupported, (
             "Retrieval of historical revisions is not supported")
 
+    def getExtensionMethods(self):
+         """getExtensionMethods
+
+        This returns a dictionary whose keys are names of extra methods
+        provided by this storage. Storage proxies (such as ZEO) should
+        call this method to determine the extra methods that they need
+        to proxy in addition to the standard storage methods.
+        Dictionary values should be None; this will be a handy place
+        for extra marshalling information, should we need it
+        """
+	return {}
+
     def copyTransactionsFrom(self, other, verbose=0):
         """Copy transactions from another storage.