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

Underscore-separated Plugins Endpoint name support #655

Closed
Ja1rman opened this issue Nov 12, 2024 · 1 comment
Closed

Underscore-separated Plugins Endpoint name support #655

Ja1rman opened this issue Nov 12, 2024 · 1 comment
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@Ja1rman
Copy link

Ja1rman commented Nov 12, 2024

pynetbox version

v7.4.1

NetBox version

v4.0.8

Python version

3.11

Steps to Reproduce

#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

return App(self.api, "plugins/{}".format(name.replace("_", "-")))

Observed 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

@Ja1rman Ja1rman added the type: bug A confirmed report of unexpected behavior in the application label Nov 12, 2024
@bctiemann bctiemann added severity: medium Results in substantial degraded or broken functionality for specfic workflows status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Nov 15, 2024 — with Linear
@bctiemann
Copy link

This is a duplicate of #653

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants