[CalendarServer-changes] [13679] CalendarServer/branches/users/gaya/groupsharee2/txdav/common/ datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jun 24 01:35:55 PDT 2014
Revision: 13679
http://trac.calendarserver.org//changeset/13679
Author: gaya at apple.com
Date: 2014-06-24 01:35:55 -0700 (Tue, 24 Jun 2014)
Log Message:
-----------
fix ShareWith() doc strings
Modified Paths:
--------------
CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql.py
Modified: CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql.py 2014-06-24 08:35:18 UTC (rev 13678)
+++ CalendarServer/branches/users/gaya/groupsharee2/txdav/common/datastore/sql.py 2014-06-24 08:35:55 UTC (rev 13679)
@@ -4703,26 +4703,30 @@
returnValue(shareeView)
+
@inlineCallbacks
def shareWith(self, shareeHome, mode, status=None, summary=None, shareName=None):
"""
Share this (owned) L{CommonHomeChild} with another home.
@param shareeHome: The home of the sharee.
- @type shareeHome: L{CommonHome}
+ @type: L{CommonHome}
@param mode: The sharing mode; L{_BIND_MODE_READ} or
L{_BIND_MODE_WRITE} or L{_BIND_MODE_DIRECT}
- @type mode: L{str}
+ @type: L{str}
@param status: The sharing status; L{_BIND_STATUS_INVITED} or
L{_BIND_STATUS_ACCEPTED}
- @type mode: L{str}
+ @type: L{str}
@param summary: The proposed message to go along with the share, which
will be used as the default display name.
- @type summary: L{str}
+ @type: L{str}
+ @param shareName: The proposed name of the new share.
+ @type: L{str}
+
@return: the name of the shared calendar in the new calendar home.
@rtype: L{str}
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140624/71a42ac9/attachment.html>
More information about the calendarserver-changes
mailing list