[CalendarServer-changes] [5694] CalendarServer/branches/new-store/txdav/idav.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 7 12:30:39 PDT 2010


Revision: 5694
          http://trac.macosforge.org/projects/calendarserver/changeset/5694
Author:   glyph at apple.com
Date:     2010-06-07 12:30:37 -0700 (Mon, 07 Jun 2010)
Log Message:
-----------
note on key-value types, since I keep forgetting

Modified Paths:
--------------
    CalendarServer/branches/new-store/txdav/idav.py

Modified: CalendarServer/branches/new-store/txdav/idav.py
===================================================================
--- CalendarServer/branches/new-store/txdav/idav.py	2010-06-06 16:50:13 UTC (rev 5693)
+++ CalendarServer/branches/new-store/txdav/idav.py	2010-06-07 19:30:37 UTC (rev 5694)
@@ -74,7 +74,13 @@
     This interface is based on L{IMapping}, but any changed to data
     are not persisted until C{flush()} is called, and can be undone
     using C{abort()}.
+
+    Also, keys must be L{IPropertyName} providers and values must be
+    L{twext.web2.element.dav.base.WeDAVElement}s.
     """
+    # FIXME: the type for values isn't quite right, there should be some more
+    # specific interface for that.
+
     def flush():
         """
         Write out any pending changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100607/11fc6847/attachment.html>


More information about the calendarserver-changes mailing list