We've briefly touched upon the fact that
Instance objects can store and retrieve
import pyblish.apicontext = pyblish.api.Context()context.data["key"] = "value"
Data is a regular Python dictionary stored in the
Context and is meant for sharing information amongst plug-ins, whereas data in an
Instance is specific to the instance. In both cases, data uses
mixedCase by convention, whereas standard Python variables use
# wrongcontext.data["my_key"] = True# rightcontext.data["myKey"] = True