Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record attributes can conflict with NetBox model fields. #170

Open
ebusto opened this issue Jun 10, 2019 · 0 comments
Open

Record attributes can conflict with NetBox model fields. #170

ebusto opened this issue Jun 10, 2019 · 0 comments
Labels
pynetbox status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application

Comments

@ebusto
Copy link

ebusto commented Jun 10, 2019

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

@abhi1693 abhi1693 added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application and removed enhancement labels Aug 28, 2023
@jeremystretch jeremystretch added the pynetbox label Nov 1, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pynetbox status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

4 participants