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
I can use Design Builder example jobs to successfully import design jobs
Observed Behavior
I followed example and documentation, however I was not able to successfully import Design Jobs
Steps to Reproduce
For the 2.0, following code allowed me to successfully import design jobs
$PLUGIN/jobs.py:
from nautobot.apps.jobs import Job, register_jobs
from nautobot_gizmo_designs.designs.networktocode import CreateNetworkToCode
register_jobs(CreateNetworkToCode)
The text was updated successfully, but these errors were encountered:
I will update the design builder documentation accordingly. Note that with Nautobot 2.0 the load_jobs method is no longer required as the JOBS_ROOT and git repos are added to sys.path so relative imports in job modules are now supported natively.
Environment
Expected Behavior
I can use Design Builder example jobs to successfully import design jobs
Observed Behavior
I followed example and documentation, however I was not able to successfully import Design Jobs
Steps to Reproduce
For the 2.0, following code allowed me to successfully import design jobs
$PLUGIN/jobs.py
:The text was updated successfully, but these errors were encountered: