Skip to content

Commit

Permalink
Merge pull request #935 from ynput/enhancement/AY-2420_Callbacks-and-…
Browse files Browse the repository at this point in the history
…groups-with-Publisher-attributes

Create Context: Per instance attributes and Callbacks
  • Loading branch information
iLLiCiTiT authored Oct 21, 2024
2 parents 47b5d90 + c93f344 commit d80ae9f
Show file tree
Hide file tree
Showing 19 changed files with 3,618 additions and 2,081 deletions.
231 changes: 162 additions & 69 deletions client/ayon_core/lib/attribute_definitions.py

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions client/ayon_core/lib/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,10 @@ def emit_event(self, event):

self._process_event(event)

def clear_callbacks(self):
"""Clear all registered callbacks."""
self._registered_callbacks = []

def _process_event(self, event):
"""Process event topic and trigger callbacks.
Expand Down
Loading

0 comments on commit d80ae9f

Please sign in to comment.