From 05f2a18c56301963f45e3f94d3eccf71c23f901b Mon Sep 17 00:00:00 2001 From: Jason Derrett Date: Fri, 15 Sep 2017 17:14:25 -0500 Subject: [PATCH] Clean up quotes in README --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index cb6ea5d..28290d8 100644 --- a/README.md +++ b/README.md @@ -184,23 +184,23 @@ When there are tag collisions, the measurement, then the batch, then the connect priority. ```python -api = librato.connect('email', 'token', tags={"company": "librato", "service": "app"}) +api = librato.connect('email', 'token', tags={'company': 'librato', 'service': 'app'}) -#tags = {"city": "sf"} -api.submit("temperature", 80, tags={"city": "sf"}) +# tags will be {'city': 'sf'} +api.submit('temperature', 80, tags={'city': 'sf'}) -#tags = {"city": "sf", "company": "librato", "service": "app"} -api.submit("temperature", 80, tags={"city": "sf"}, inherit_tags=True) +# tags will be {'city': 'sf', 'company': 'librato', 'service': 'app'} +api.submit('temperature', 80, tags={'city': 'sf'}, inherit_tags=True) -q = api.new_queue(tags={"service":"api"}) +q = api.new_queue(tags={'service':'api'}) -#tags = {'location': 'downstairs'} +# tags will be {'location': 'downstairs'} q.add('temperature', 22.1, tags={'location': 'downstairs'}) -# tags={"company": "librato", "service":"api"} +# tags will be {'company': 'librato', 'service':'api'} q.add('temperature', 23.1) -#tags = {'location': 'downstairs', "company": "librato", "service": "api"} +# tags will be {'location': 'downstairs', 'company': 'librato', 'service': 'api'} q.add('temperature', 22.1, tags={'location': 'downstairs'}, inherit_tags=True) q.submit() ```