Skip to content

Instantly share code, notes, and snippets.

@kd35a
Created August 8, 2012 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kd35a/3293392 to your computer and use it in GitHub Desktop.
Save kd35a/3293392 to your computer and use it in GitHub Desktop.
Problem with requests
E1103: 76,11:MyClass.my_func: Instance of 'Request' has no 'json' member (but some types could not be inferred)
result = requests.get(url, headers=headers, params=params)
data = result.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment