This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Convert a pyblish context with collected instances to a flowpipe graph: | |
| +----------------------------+ +----------------------------+ +-----------------------------+ | |
| | ValidatorA Instance 0 | | ExtractorA Instance 0 | | IntegratorA Instance 0 | | |
| |----------------------------| |----------------------------| |-----------------------------| | |
| % contexts | % contexts | % contexts | | |
| o contexts.0<{"results"> | +--->o contexts.0<> | +--->o contexts.0<> | | |
| o instance<{"data": {> | |--->o contexts.1<> | |--->o instance<> | | |
| o plugin<"Validator> | |--->o instance<> | | o plugin<"Integrato> | | |
| o step<"validate"> | | o plugin<"Extractor> | | o step<"integrate> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyClass(object): | |
| """""" | |
| def __new__(cls, *args, **kwargs): | |
| """@todo documentation for __new__ | |
| @param cls The class to create | |
| """ | |
| created_class = super(MyClass, cls).__new__(cls, *args, **kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import xml.etree.ElementTree as xml | |
| from cStringIO import StringIO | |
| try: | |
| import pysideuic | |
| except: | |
| import pysideuic2 as pysideuic | |
| from Qt import QtWidgets | |
| def ui_class(ui_file): |