Support controller reloading for templates, appliances and projects. Ref #1743

This commit is contained in:
grossmj
2020-04-30 15:30:50 +09:30
parent 7b61724213
commit 02c0fa26e1
8 changed files with 44 additions and 12 deletions

View File

@ -129,6 +129,8 @@ class Project:
self._iou_id_lock = asyncio.Lock()
log.debug('Project "{name}" [{id}] loaded'.format(name=self.name, id=self._id))
def emit_notification(self, action, event):
"""
Emit a notification to all clients using this project.