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

token_lookup has an incorrect doc string for the accessor kwarg #779

Open
jessecooper opened this issue Nov 9, 2021 · 0 comments
Open

Comments

@jessecooper
Copy link

https://github.com/hvac/hvac/blob/develop/hvac/v1/__init__.py#L429
correct doc sting

:param accessor:
:type accessor: bool

Kind of a silly one and I will open up a PR if time permits but caused me a bit of pain when just looking at
client.token_lookup.__doc__ because I sat there trying to plug in accessor=<token_accessor> and wondering why it was coming back with a self lookup. Then having to go directly into the code on github to see the default assigned to a bool leading me to the proper usage of this method.

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

No branches or pull requests

1 participant