def get_ports(cls):

    parser.parse(cls)
    ports_tuples = []
    ports_tuples.append(get_algorithm_ports(cls))
    ports_tuples.append(get_get_ports(cls, parser.get_get_methods()))
    ports_tuples.append(get_get_set_ports(cls, parser.get_get_set_methods()))
    ports_tuples.append(get_toggle_ports(cls, parser.get_toggle_methods()))
    ports_tuples.append(get_state_ports(cls, parser.get_state_methods()))
    ports_tuples.append(get_other_ports(cls, parser.get_other_methods()))
    ports_tuples.append(get_custom_ports(cls))

    zipped_ports = izip(*ports_tuples)
    input_ports = chain(*zipped_ports.next())
    output_ports = chain(*zipped_ports.next())
    return input_ports, output_ports
get_ports(cls: vtk class) -> None
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/vtk/vtk_wrapper/parse.py/get_ports