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

Issue with return types from database methods #556

Open
danieljamesscott opened this issue Feb 11, 2020 · 0 comments
Open

Issue with return types from database methods #556

danieljamesscott opened this issue Feb 11, 2020 · 0 comments
Labels
documentation documentation updates and/or requests for expanded documentation help wanted Contributions welcome!

Comments

@danieljamesscott
Copy link

The database return types are documented as requests.Response:

https://github.com/hvac/hvac/blob/develop/hvac/api/secrets_engines/database.py#L86

But the response actually returns the json body of the response:

https://github.com/hvac/hvac/blob/develop/hvac/api/secrets_engines/database.py#L92

This is causing an issue in my IDE (IntelliJ) because I'm trying to call methods on a dict type, which IntelliJ thinks is a Response.

@jeffwecan jeffwecan added documentation documentation updates and/or requests for expanded documentation help wanted Contributions welcome! labels Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation updates and/or requests for expanded documentation help wanted Contributions welcome!
Projects
None yet
Development

No branches or pull requests

2 participants