Skip to content

1.1.4

Compare
Choose a tag to compare
@mottosso mottosso released this 04 Aug 15:46
· 437 commits to master since this release

Version 1.1.4

  • Feature: Added support for "MyInstance" in context
  • Enhancement: Removing the need for @pyblish.api.log (#213)
  • Bugfix: Negative collectors (#210)

Context.contains

The Context can now be directly queried for the existence of an Instance.

>>> context = Context()
>>> instance = context.create_instance("MyInstance")
>>> "MyInstance" in context
True
>>> instance in context
True
>>> "NotExists" in context
False

@pyblish.api.log

You now no longer have to apply the decorator @pyblish.api.log to your plug-ins for logging to correctly reflect the current module and plug-in name in its records.