mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
21 lines
451 B
Python
21 lines
451 B
Python
"""
|
|
Requires:
|
|
None
|
|
Provides:
|
|
context
|
|
- cleanupFullPaths (list)
|
|
- cleanupEmptyDirs (list)
|
|
"""
|
|
|
|
import pyblish.api
|
|
|
|
|
|
class CollectCleanupKeys(pyblish.api.ContextPlugin):
|
|
"""Prepare keys for 'ExplicitCleanUp' plugin."""
|
|
|
|
label = "Collect Cleanup Keys"
|
|
order = pyblish.api.CollectorOrder - 0.5
|
|
|
|
def process(self, context):
|
|
context.data["cleanupFullPaths"] = []
|
|
context.data["cleanupEmptyDirs"] = []
|