pyblish-base
pyblish-base copied to clipboard
Sort and compare plug-ins
Goal
To allow for sorting and comparing plug-ins, by their order.
This is currently done via an external call to pyblish.plugin.sort().
Implementation
Override rich comparison methods.
if Plugin2 > Plugin1:
print("Plugin2 has a higher order than Plugin1")