mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 04:58:16 -06:00
14438 docstring
This commit is contained in:
parent
785ff3486b
commit
4733376867
@ -131,6 +131,10 @@ class ScriptModule(PythonModuleMixin, JobsMixin, ManagedFile):
|
||||
return scripts
|
||||
|
||||
def sync_classes(self):
|
||||
"""
|
||||
Sync's the file based module to the database objects - adding and
|
||||
removing python classes from the DB as appropriate.
|
||||
"""
|
||||
db_classes = {
|
||||
script.name: script for script in self.scripts.all()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user