forked from pyblish/pyblish-base
-
Notifications
You must be signed in to change notification settings - Fork 1
API Context.add
Marcus Ottosson edited this page Apr 28, 2015
·
1 revision
A context may contain both content and metacontent, added via .add()
and .set_data()
respectively.
The contents of a Context is the instances, and it's data global information about the environment in which publishing occurs, such as time of day or currently logged on user.
import pyblish.api as pyblish
context = pyblish.Context()
instance = pyblish.Instance(name="MyInstance")
context.add(instance)
This wiki is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.