We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So I'm trying i.record_count("events") and I'm getting this error back:
i.record_count("events")
AttributeError: 'HTTPMessage' object has no attribute 'headers'
The issue is line 632 in insightly.py: return result.info().headers
return result.info().headers
which according to this post is deprecated in Python 3:
Python 3 Note First, there is nothing like response.info().headers, do a dict(response.info())
However, that doesn't work and despite Googling around, I can't find an alternative formulation that does...
The text was updated successfully, but these errors were encountered:
Fixed this issue in this fork. Goes without saying this is offered up without any sort of guarantee, I take no responsibility for use/misuse etc.
Sorry, something went wrong.
No branches or pull requests
So I'm trying
i.record_count("events")
and I'm getting this error back:AttributeError: 'HTTPMessage' object has no attribute 'headers'
The issue is line 632 in insightly.py:
return result.info().headers
which according to this post is deprecated in Python 3:
However, that doesn't work and despite Googling around, I can't find an alternative formulation that does...
The text was updated successfully, but these errors were encountered: