Replies: 2 comments 1 reply
-
nbshell is your friend.
But for a stable identifier to check look up in the config, then I think |
Beta Was this translation helpful? Give feedback.
-
Hi Brian, thanks for your reaction.
Not until today ;-). Normally I use the Python Shell and the variables pane in VScode within a debugging session. This lets me have a decent visual overview about the classes' member variables and their current values and it allows me to create class instances on the fly. But I see that nbshell can be a useful alternative, especially without the need for a debugging session.
This is what I thought of myself and what I posted in the original issue. So, a technical solution is not a problem. The main question was if the behavior was intended. Thanks for your opinion about that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
in our netbox-topology-views plugin we currently have an issue with other languages than english. We check if a link is a certian type before further processing. For this check we use link.termination_type.name. Unfortunately this member variable will be translated and we end in vanishing devices because we check english link type names against french link type names.
I wonder if this translation is intended or has been included by accident. For my understanding, the link type should not be translated. If one needs a translated name, there should be a "label" member or something similar ("visibleName", "caption"... you get the point).
See also netbox-community/netbox-topology-views#464
It would be great if one of the NetBox devs could chime in here. I'm not sure if this is worth filing a bug.
Beta Was this translation helpful? Give feedback.
All reactions