pynetbox
pynetbox copied to clipboard
Record attributes can conflict with NetBox model fields.
I discovered this problem using pynetbox to retrieve records for a custom model that coincidentally has an endpoint
field.
Admittedly, a Record
only has a handful of private attributes, and it is unlikely that any would conflict with core NetBox model fields, but it would be safer and definitely more future proof if they were prefixed with _
.