Closed nautics889 closed 1 year ago
I don't think it is good to change for Record
.
>>> 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.
@abhi1693 sounds reasonable.
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 https://github.com/nautobot/pynautobot/issues/67 from pynautobot tool