Skip to content

0.6.13

Choose a tag to compare

@ynbot ynbot released this 03 Dec 09:38
· 83 commits to main since this release

Changelog

💚 Enhancement

Sync comment only if enabled in compatibility settings - #268

This PR provides project based control of comments synchronization and more granular support for synched custom attributes (per project).


🐛 Bug

Fix: usage of empty return from get_sg_entity_as_ay_dict - #276

Solves:

Traceback (most recent call last):
File "/service/processor/processor.py", line 281, in start_processing
handler.process_event(
File "/service/processor/handlers/shotgrid_event.py", line 37, in process_event
hub.react_to_shotgrid_event(sg_payload["meta"])
File "/service/ayon_shotgrid_hub/init.py", line 344, in react_to_shotgrid_event
create_ay_entity_from_sg_event(
File "/service/ayon_shotgrid_hub/update_from_shotgrid.py", line 106, in create_ay_entity_from_sg_event
if sg_ay_dict["type"].lower() == "comment":
~~^^^^^^^^
KeyError: 'type'

Fix: error when sg_entity couldn't be created - #275

It is expected that create_sg_entity_from_ayon_event will always return source ay_entity even if Shotgrid entity couldn't be created.