def METHOD_NAME(self):
    self.inputs['Solid A'].hide_safe = self.mode != 'Solid'
    self.inputs['Solid Face A'].hide_safe = self.mode != 'Face'
    self.inputs['Solid Edge A'].hide_safe = self.mode != 'Edge'
    self.inputs['Solid B'].hide_safe = self.mode_b != 'Solid'
    self.inputs['Solid Face B'].hide_safe = self.mode_b != 'Face'
    self.inputs['Solid Edge B'].hide_safe = self.mode_b != 'Edge'
    self.inputs['Vertices'].hide_safe = self.mode_b != 'Vertex'
    self.outputs['Closest Point B'].hide_safe = self.mode_b == 'Vertex'
    self.outputs['Info B'].hide_safe = self.mode_b == 'Vertex'