def __call__(self, address):
    if not isinstance(address, six.string_types):
      raise self.ExpectedAddressError("Expected string address argument, got type {type}"
                                     .format(type(address)))
    return Addresses(addresses=[address], rel_path=self._parse_context.rel_path)
:param string address: A target address.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/build_graph/from_target.py/FromTarget.__call__