def METHOD_NAME(self, context):
    self.inputs['Radius'].hide_safe = not self.is_polyline
    self.inputs['CutOffset'].hide_safe = self.is_polyline
    self.inputs['BulgeFactor'].hide_safe = self.is_polyline or self.smooth_mode != SMOOTH_TANGENT
    self.outputs['Centers'].hide_safe = not (self.is_polyline and self.smooth_mode == SMOOTH_ARC)
    self.outputs['Radius'].hide_safe = not (self.is_polyline and self.smooth_mode == SMOOTH_ARC)
    updateNode(self, context)