You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awhile back I went through my custom scripts for NetBox and broke them up into individual modules to make things cleaner and easier to troubleshoot. I would put everything in the scripts folder, and could import the modules with just
from ./scripts import <module name>
Now that I've upgrade NetBox, I have my scripts in a Git repo and sync them to NetBox via the Data Resource. I can see all my files there, however importing of my custom modules fail.
How do I go about importing custom modules into my scripts if everything is sync'd via Data Resource from a Git Repo?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Awhile back I went through my custom scripts for NetBox and broke them up into individual modules to make things cleaner and easier to troubleshoot. I would put everything in the scripts folder, and could import the modules with just
from ./scripts import <module name>
Now that I've upgrade NetBox, I have my scripts in a Git repo and sync them to NetBox via the Data Resource. I can see all my files there, however importing of my custom modules fail.
How do I go about importing custom modules into my scripts if everything is sync'd via Data Resource from a Git Repo?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions