(self, boost)
return self
Sets the boost associated with this node.

        For nodes that don't have a boost, this is a no-op.
Sets the boost associated with this node.
Sets the boost associated with this node .
def set_boost(self, boost):
        """Sets the boost associated with this node.

        For nodes that don't have a boost, this is a no-op.
        """

        if not self.has_boost:
            return
        self.boost = boost
        return self
def set_boost ( self , boost ) : if not self . has_boost : return self . boost = boost return self