Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

influxdb-python requires at least requests>=2.0.0 #16

Merged
merged 1 commit into from
Mar 7, 2014

Conversation

bbinet
Copy link
Contributor

@bbinet bbinet commented Mar 6, 2014

when using response.json() api

@jvshahid
Copy link
Contributor

jvshahid commented Mar 6, 2014

@bbinet did you mean Session objects. I'm looking at the documentation of session 1.2.3 and response objects have .json() method. See http://docs.python-requests.org/en/v1.2.3/user/quickstart/#json-response-content

when using response.json() api.
Before requests version < 1.0.3, response.json was not callable, it was a
simple attribute.
@bbinet
Copy link
Contributor Author

bbinet commented Mar 7, 2014

You're right @jvshahid, in fact this should be requests>=1.0.3.
For requests version 1.0.2, response.json was an attribute, not a callable.
http://docs.python-requests.org/en/v1.0.2/user/quickstart/#json-response-content
(pull-request updated).

jvshahid added a commit that referenced this pull request Mar 7, 2014
influxdb-python requires at least requests>=2.0.0
@jvshahid jvshahid merged commit e65f640 into influxdata:master Mar 7, 2014
@bbinet bbinet deleted the requests-version branch March 19, 2014 11:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy