mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #825 from pypeclub/feature/thumbnail_event_handler
Thumbnail event handler with settings
This commit is contained in:
commit
a596b96c5f
2 changed files with 149 additions and 33 deletions
|
|
@ -652,3 +652,10 @@ class BaseHandler(object):
|
|||
project_settings = get_project_settings(project_name)
|
||||
event["data"]["project_settings"][project_id] = project_settings
|
||||
return project_settings
|
||||
|
||||
@staticmethod
|
||||
def get_entity_path(entity):
|
||||
"""Return full hierarchical path to entity."""
|
||||
return "/".join(
|
||||
[ent["name"] for ent in entity["link"]]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue