Update client/ayon_core/pipeline/publish/lib.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Ondřej Samohel 2025-05-13 12:16:12 +02:00 committed by GitHub
parent 52c03faf4b
commit 54c10cd6da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1081,7 +1081,7 @@ def has_trait_representations(
False: Instance does not have trait representation.
"""
return bool(instance.data.get(TRAIT_INSTANCE_KEY))
return TRAIT_INSTANCE_KEY in instance.data
def add_trait_representations(