element_51.portsΒΆ

Map type hints to ports: the part of @node and Node shared by both.

Functions

display_of(outputs)

Say what the card of a node with these outputs shows.

input_port(name, annotation, default, where)

Build an input port, checking its default against its type.

output_ports(name, annotation)

Build the output ports from a return hint.

port_type(annotation, where)

Map a type hint to a port type.