No documentation on `.address` in class Nomad
wimax-grapl opened this issue · 2 comments
wimax-grapl commented
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
.
python-nomad/nomad/api/base.py
Line 53 in f6dcba8
if anything, this should be some sort of xor (throw an exception if address and [host/port] are specified)
jonathanrcross commented
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 commented
Makes sense, thanks!
…On Tue, Dec 7, 2021, 4:01 PM jonathanrcross ***@***.***> wrote:
Hey @wimax-grapl <https://github.com/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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQOPO7MNCERMYOK2TB2INX3UPZYZ3ANCNFSM5JPAFC7Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.