ayon-core/openpype/plugins/publish/validate_filesequences.py
2021-12-10 14:31:56 +01:00

13 lines
403 B
Python

import pyblish.api
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):
assert context, "Nothing collected."