pynetbox icon indicating copy to clipboard operation
pynetbox copied to clipboard

Record attributes can conflict with NetBox model fields.

Open ebusto opened this issue 5 years ago • 0 comments

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 _.

ebusto avatar Jun 10 '19 17:06 ebusto