Skip to content

create_review

ReviewCreator

Bases: PSAutoCreator

Creates review instance which might be disabled from publishing.

Source code in client/ayon_photoshop/plugins/create/create_review.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class ReviewCreator(PSAutoCreator):
    """Creates review instance which might be disabled from publishing."""
    identifier = "review"
    product_base_type = "review"
    product_type = product_base_type
    default_variant = "Main"

    def get_detail_description(self):
        return """Auto creator for review.

        Photoshop review is created from all published images or from all
        visible layers if no `image` instances got created.

        Review might be disabled by an artist (instance shouldn't be deleted as
        it will get recreated in next publish either way).
        """