@staticmethod
    def convert(_port):
        if _port.__class__ is Port:
            return
        _port.__class__ = Port
        _port._spec = None
        _port._descriptors = None
        _port.set_defaults()

    ##########################################################################
    # Properties
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/port.py/Port.convert/operator `==` -> `is`