code: def __str__(self):
      return f"IP: {self.ip}, Port: {self.port}"
  
imports: from pathlib import Path
  from typing import Union
  import numpy
label_desc: Use image node_id 2 for calling the NetworkAddress obj's underlying member method code with example usage: obj.__str__() and returns: str, self, str, self