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
It'd be good to see more verbose info in representation of Record object. Currently __repr__() return the same as __str__() (either "name" or "label" or "display").
It should rather look like:
<pynetbox.core.response.Record ('some_record') at mem_location>
>>> nb.circuits.circuits.get(id=19)
1002840283
>>> nb.circuits.circuits.filter(id=19)
<pynetbox.core.response.RecordSet object at 0x7fa981389f00>
As a user, I prefer to keep the representation for Record as is but may change it to RecordSet. However, while giving a more thought, I don't see much value in this.
It'd be good to see more verbose info in representation of Record object. Currently
__repr__()
return the same as__str__()
(either "name" or "label" or "display").It should rather look like:
Similar to nautobot/pynautobot#67 from pynautobot tool
The text was updated successfully, but these errors were encountered: