.create_instance

Create Instances for a given Context.

Introduction

Create an instance and automatically make it a child of the calling context, returns the newly created Instance.

import pyblish.api
context = pyblish.api.Context()
instance = context.create_instance(name="MyInstance")

{{ file.mtime }}