def __init__(self, active_workspace): self.__active_workspace = active_workspace self.stream = None # will be set when active workpsace is set self.changes_lock = models.get_changes_lock()