(self, pin: 'Pin')
This functions finishes a connection that has only start or end and
            is being currently dragged
This functions finishes a connection that has only start or end and
            is being currently dragged
This functions finishes a connection that has only start or end and is being currently dragged
def finish_connection(self, pin: 'Pin'):
        """ This functions finishes a connection that has only start or end and
            is being currently dragged """
        self.remove_info()
        if self.forward:
            self.end = pin
            self._bind_pin(self.end)
        else:
            self.start = pin
            self._bind_pin(self.start)
def finish_connection ( self , pin : 'Pin' ) : self . remove_info ( ) if self . forward : self . end = pin self . _bind_pin ( self . end ) else : self . start = pin self . _bind_pin ( self . start )