def update_shapes(self, event=None, connectors=None):
    if (self._folded == Folded.NONE):
        self.shape = self.class_shape()
    else:
        self.shape = self.ball_and_socket_shape(connectors)
def update_shapes(self, event=None, connectors=None):
    if (self._folded == Folded.NONE):
        self.shape = self.class_shape()
    else:
        self.shape = self.ball_and_socket_shape(connectors)