Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in example in docs that throws an error. #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmartin313
Copy link

The example in the doc has a typo. If the code is copied the user will receive the error:

Traceback (most recent call last):
  File "run.py", line 35, in <module>
    print api.healthcheck.get()
  File "/Users/xxx/.virtualenvs/aaq/lib/python2.7/site-packages/slumber/__init__.py", line 155, in get
    resp = self._request("GET", params=kwargs)
  File "/Users/xxx/.virtualenvs/aaq/lib/python2.7/site-packages/slumber/__init__.py", line 90, in _request
    headers = {"accept": serializer.get_content_type()}
  File "/Users/xxx/.virtualenvs/aaq/lib/python2.7/site-packages/slumber/serialize.py", line 109, in get_content_type
    return s.get_content_type()
  File "/Users/xxx/.virtualenvs/aaq/lib/python2.7/site-packages/slumber/serialize.py", line 26, in get_content_type
    raise NotImplementedError()
NotImplementedError

@samgiles samgiles self-assigned this Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants