Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 05f2a18

Browse files
author
Jason Derrett
committed
Clean up quotes in README
1 parent 14d61d5 commit 05f2a18

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,23 +184,23 @@ When there are tag collisions, the measurement, then the batch, then the connect
184184
priority.
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'}
198198
q.add('temperature', 22.1, tags={'location': 'downstairs'})
199199

200-
# tags={"company": "librato", "service":"api"}
200+
# tags will be {'company': 'librato', 'service':'api'}
201201
q.add('temperature', 23.1)
202202

203-
#tags = {'location': 'downstairs', "company": "librato", "service": "api"}
203+
# tags will be {'location': 'downstairs', 'company': 'librato', 'service': 'api'}
204204
q.add('temperature', 22.1, tags={'location': 'downstairs'}, inherit_tags=True)
205205
q.submit()
206206
```

0 commit comments

Comments
 (0)