File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Support uv controlled development environment to run unittest.
Original file line number Diff line number Diff line change 1313
1414def each_enabled_integration () -> Generator [str , None , None ]:
1515 """Return all enabled integrations."""
16- config = settings .PLUGINS_CONFIG [ "nautobot_ssot" ]
16+ config = settings .PLUGINS_CONFIG . get ( "nautobot_ssot" , {})
1717
1818 for path in Path (__file__ ).parent .iterdir ():
1919 if config .get (f"enable_{ path .name } " , False ):
Original file line number Diff line number Diff line change 1414
1515logger = logging .getLogger ("nautobot.ssot" )
1616
17- hide_jobs_setting = settings .PLUGINS_CONFIG [ "nautobot_ssot" ] .get ("hide_example_jobs" , False )
17+ hide_jobs_setting = settings .PLUGINS_CONFIG . get ( "nautobot_ssot" , {}) .get ("hide_example_jobs" , False )
1818if is_truthy (hide_jobs_setting ):
1919 jobs = []
2020else :
You can’t perform that action at this time.
0 commit comments