Skip to content
Marcus Ottosson edited this page Apr 28, 2015 · 1 revision

Add Instances to a Context.




Introduction

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.




Examples

import pyblish.api as pyblish

context = pyblish.Context()
instance = pyblish.Instance(name="MyInstance")
context.add(instance)

Language, software and platform agnostic, feature film-strength quality assurance for content.

Table of contents

Architecture

Developer Resources

Strategies

More

Community

Clone this wiki locally