Skip to content

validate_filesequences

ValidateFileSequences

Bases: ContextPlugin

Validates whether any file sequences were collected.

Source code in client/ayon_core/plugins/publish/validate_filesequences.py
 6
 7
 8
 9
10
11
12
13
14
15
16
class ValidateFileSequences(pyblish.api.ContextPlugin):
    """Validates whether any file sequences were collected."""

    order = pyblish.api.ValidatorOrder
    # Keep "filesequence" for backwards compatibility of older jobs
    targets = ["filesequence", "farm"]
    label = "Validate File Sequences"

    def process(self, context):
        if not context:
            raise PublishValidationError("Nothing collected.")