Closed Ja1rman closed 2 weeks ago
v7.4.1
v4.0.8
3.11
https://github.com/netbox-community/pynetbox/issues/332
I have link in format api/plugins/some_name But I cant use library because in v6.1.3 formatting has appeared https://github.com/netbox-community/pynetbox/blob/1cb52979a3a1f86e127bcf07b3f77a5beffa840a/pynetbox/core/app.py#L114
api/plugins/some_name
I think that it should support both formats
for easy fix may be this solution will interesting replace("__", "-") or you need to add a key to change or not change the format
replace("__", "-")
This is a duplicate of https://github.com/netbox-community/pynetbox/issues/653
pynetbox version
v7.4.1
NetBox version
v4.0.8
Python version
3.11
Steps to Reproduce
https://github.com/netbox-community/pynetbox/issues/332
Expected Behavior
I have link in format
api/plugins/some_name
But I cant use library because in v6.1.3 formatting has appeared https://github.com/netbox-community/pynetbox/blob/1cb52979a3a1f86e127bcf07b3f77a5beffa840a/pynetbox/core/app.py#L114Observed Behavior
I think that it should support both formats
for easy fix may be this solution will interesting
replace("__", "-")
or you need to add a key to change or not change the format