mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
14 lines
333 B
Python
14 lines
333 B
Python
from pyblish import api
|
|
from pypeapp import config
|
|
|
|
|
|
class CollectPresets(api.ContextPlugin):
|
|
"""Collect Presets."""
|
|
|
|
order = api.CollectorOrder
|
|
label = "Collect Presets"
|
|
|
|
def process(self, context):
|
|
context.data["presets"] = config.get_presets()
|
|
self.log.info(context.data["presets"])
|
|
return
|