cast#

EdgeTerminal.cast(term_type=None)#

Cast the terminal object to the correct concrete type, fetching the type if necessary.

Parameters:
term_typeTerminalType
Returns:
Terminal