pynetbox icon indicating copy to clipboard operation
pynetbox copied to clipboard

Fixes path for plugin names with underscores

Open abhi1693 opened this issue 3 years ago • 2 comments

For the plugin netbox-secretstore and netbox-access-lists, I'm unable to use the library because the code auto replaces the _ with -. This causes issues because the path to the APIs require the use of underscores

abhi1693 avatar Aug 28 '22 13:08 abhi1693

@zachmoody Ping, let me know if you require more information

abhi1693 avatar Aug 28 '22 13:08 abhi1693

This is not the right way of resolving the issue. I have two plugins, in one underscore is part of the URL and in another dash is part of the URL. Maybe the base URL on netbox should always turn underscores to dashes. That way, this issue will never arise and the code will work as is.

abhi1693 avatar Sep 13 '22 21:09 abhi1693