pynetbox changes _ in method calls to - in the API URI, causing this error:
>>> nb.plugins.netbox_attachments.netbox_attachments.count())
...
pynetbox.core.query.RequestError: The requested url: http://localhost:8000/api/plugins/netbox-attachments/netbox-attachments/?limit=1 could not be found.
With this change, the affected pynetbox call works:
pynetbox changes
_
in method calls to-
in the API URI, causing this error:With this change, the affected pynetbox call works: