You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the application so it no longer remaps endpoints beginning with _, and add a specific class Choice that only has an items() function to retrieve the results.
The text was updated successfully, but these errors were encountered:
Ichabond
added a commit
to Ichabond/pynetbox
that referenced
this issue
Dec 18, 2017
@zachmoody any chance this will be bundled into pynetbox soon? I've solved this manually by the requests lib in my scripts for the time being, having it available straight through pynetbox would be sweet!
And obviously, while we're at it, having it available for all objects (dcim/virtualization/ipam/...) would be extra sweet.
Netbox has a
_choices
endpoint, which is currently not supported, as it gets remapped to-choices
inendpoint.py
(https://github.com/digitalocean/pynetbox/blob/master/pynetbox/lib/endpoint.py#L62), and it doesn't map to the defaultRecord
structure.Update the application so it no longer remaps endpoints beginning with
_
, and add a specific classChoice
that only has anitems()
function to retrieve the results.The text was updated successfully, but these errors were encountered: