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

No documentation on .address in class Nomad #129

Open
wimax-grapl opened this issue Dec 6, 2021 · 2 comments
Open

No documentation on .address in class Nomad #129

wimax-grapl opened this issue Dec 6, 2021 · 2 comments

Comments

@wimax-grapl
Copy link

https://github.com/jrxFive/python-nomad/blob/master/nomad/__init__.py

One has to drill down to the Requester object to learn that address takes precedence over host/port.

def _url_builder(self, endpoint):

if anything, this should be some sort of xor (throw an exception if address and [host/port] are specified)

@jonathanrcross
Copy link
Collaborator

Hey @wimax-grapl, sorry for getting burned by that... We'll certainly add to the docstring and possible add a warning about have both parameters set, don't want to introduce a break change.

@wimax-grapl
Copy link
Author

wimax-grapl commented Dec 8, 2021 via email

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

2 participants