Closed z3rohour closed 5 years ago
Thanks for the PR.
Isn't this something that can be done as described in #6 ?
Thanks, Marin
Hey,
Actually you're right, it can be done like:
params = {'ipv4addr': '192.168.1.1', '_return_fields+': 'extattrs'}
iblox.record_host.get(**params)
Didn't think of that :) Sorry for disturbance
Cheers, Eugene
No problem :)
Maybe it would be better to have this mentioned in the readme.
Would you mind documenting this for others to know as well?
Thanks, Marin
Hey,
Sure, why not :) Committed
Cheers, Eugene
Hey @z3rohour ,
Before I merge this can you make sure that the PR touches only the README file? Currently it also changes permissions of __init__.py
as well.
Thanks!
Hey,
My bad, I'm using windows and didn't keep track of permissions change. Fixed now
Thanks!
Allows to pass 'return_fields' parameter to get() method to get additional parameters of an object.
Simple example how to use to get extensible attributes for the object record:host