1.1.4
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.