@@ -97,39 +97,39 @@ def set(self, **kwds):
9797 set(channels = [Channel])
9898 >>> set(channels=[{'name':'chName1','owner':'chOwner'},{'name':'chName2','owner':'chOwner'}])
9999 >>> set(channels=[{'name':'chName1','owner':'chOwner', 'tags':[...], 'properties':[...]}, {...}])
100-
100+
101101 set(tag = Tag)
102102 >>> set(tag={'name':'tagName','owner':'tagOwner'})
103-
103+
104104 set(tags = [Tag])
105105 >>> set(tags=[{'name':'tag1','tagOwner'},{'name':'tag2','owner':'tagOwner'}])
106-
106+
107107 set(property = Property )
108108 >>> set(property={'name':'propertyName','owner':'propertyOwner'})
109-
109+
110110 set(properties = [Property])
111- >>> set(properties=[{'name':'prop1','owner':'propOwner'},'prop2','propOwner'])
112-
111+ >>> set(properties=[{'name':'prop1','owner':'propOwner'},'prop2','propOwner'])
112+
113113 *** IMP NOTE: Following operation are destructive ***
114114 *** if you simply want to append a tag or property use the update operation***
115-
115+
116116 set(tag=Tag, channelName=String)
117117 >>> set(tag={'name':'tagName','owner':'tagOwner'}, channelName='chName')
118118 # will create/replace specified Tag
119119 # and add it to the channel with the name = channelName
120-
120+
121121 set(tag=Tag, channelNames=[String])
122122 >>> set (tag={'name':'tagName','owner':'tagOwner'}, channelNames=['ch1','ch2','ch3'])
123- # will create/replace the specified Tag
123+ # will create/replace the specified Tag
124124 # and add it to the channels with the names specified in channelNames
125125 # and delete it from all other channels
126-
126+
127127 set(property=Property, channelNames=[String])
128128 >>> set(property={'name':'propName','owner':'propOwner','value':'propValue'}, channels=[...])
129129 # will create/replace the specified Property
130130 # and add it to the channels with the names specified in channels
131131 # and delete it from all other channels
132-
132+
133133 """
134134 if len (kwds ) == 1 :
135135 self .__handleSingleAddParameter (** kwds )
0 commit comments