Bases: ContextPlugin
Collect Settings and store in the context.
Source code in client/ayon_core/plugins/publish/collect_settings.py
5
6
7
8
9
10
11
12
13
14
15
16
17 | class CollectSettings(api.ContextPlugin):
"""Collect Settings and store in the context."""
order = api.CollectorOrder - 0.491
label = "Collect Settings"
def process(self, context):
project_name = context.data["projectName"]
self.log.debug(
"Collecting settings for project: {}".format(project_name)
)
project_settings = get_project_settings(project_name)
context.data["project_settings"] = project_settings
|