Mercurial > libervia-pubsub
comparison idavoll/storage.py @ 125:0d7b95fb2549
Add documentation to set_configuration().
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Tue, 12 Apr 2005 14:51:59 +0000 |
parents | 3e7a7426f518 |
children | b27a66637a10 |
comparison
equal
deleted
inserted
replaced
124:c4ee16bc48e5 | 125:0d7b95fb2549 |
---|---|
110 | 110 |
111 @return: L{dict} of meta data. | 111 @return: L{dict} of meta data. |
112 """ | 112 """ |
113 | 113 |
114 def set_configuration(self, options): | 114 def set_configuration(self, options): |
115 """ """ | 115 """ Set node's configuration. |
116 | |
117 The elements of {options} will set the new values for those | |
118 configuration items. This means that only changing items have to | |
119 be given. | |
120 | |
121 @param options: a dictionary of configuration options. | |
122 @returns: a deferred that fires upon success. | |
123 """ | |
116 | 124 |
117 def get_affiliation(self, entity): | 125 def get_affiliation(self, entity): |
118 """ Get affiliation of entity with this node. | 126 """ Get affiliation of entity with this node. |
119 | 127 |
120 @param entity: JID of entity. | 128 @param entity: JID of entity. |