def METHOD_NAME(self, *args):
    """
    Connect two message ports in the flowgraph.
    If only two arguments are provided, they must be endpoints (block, port)
    """
    self.primitive_msg_connect(*args)