Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def register_bbox_watcher(self, name, repeat_index):
self.max_repeats += 1
self.get_widget().set_max_repeats(self.max_repeats)
self.watchlist.add(Watcher(name=name, repeat_index=repeat_index))