code: def name(self) -> str:
          
          if self.direction == DIRECTION_IN:
              return self.raw.get('Input.Name', '')
          return self.raw.get('Output.Name', '')
docs: Return name relevant to direction.