@@ -184,23 +184,23 @@ When there are tag collisions, the measurement, then the batch, then the connect
184184priority.
185185
186186```python
187- api = librato.connect(' email' , ' token' , tags = {" company" : " librato" , " service" : " app" })
187+ api = librato.connect(' email' , ' token' , tags = {' company' : ' librato' , ' service' : ' app' })
188188
189- # tags = {" city": "sf" }
190- api.submit(" temperature" , 80 , tags = {" city" : " sf " })
189+ # tags will be {' city': 'sf' }
190+ api.submit(' temperature' , 80 , tags = {' city' : ' sf ' })
191191
192- # tags = {" city": "sf", " company": " librato", " service": " app" }
193- api.submit(" temperature" , 80 , tags = {" city" : " sf " }, inherit_tags = True )
192+ # tags will be {' city': 'sf', ' company': ' librato', ' service': ' app' }
193+ api.submit(' temperature' , 80 , tags = {' city' : ' sf ' }, inherit_tags = True )
194194
195- q = api.new_queue(tags = {" service" : " api" })
195+ q = api.new_queue(tags = {' service' : ' api' })
196196
197- # tags = {'location': 'downstairs'}
197+ # tags will be {'location': 'downstairs'}
198198q.add(' temperature' , 22.1 , tags = {' location' : ' downstairs' })
199199
200- # tags={" company": " librato", " service":" api" }
200+ # tags will be {' company': ' librato', ' service':' api' }
201201q.add(' temperature' , 23.1 )
202202
203- # tags = {'location': 'downstairs', " company": " librato", " service": " api" }
203+ # tags will be {'location': 'downstairs', ' company': ' librato', ' service': ' api' }
204204q.add(' temperature' , 22.1 , tags = {' location' : ' downstairs' }, inherit_tags = True )
205205q.submit()
206206```
0 commit comments