def _transform_object(self, obj):

        wrapped = Transformable(obj)

        error_component = wrapped['error_component'].resolve()
        if error_component is not None and error_component == 'connect':
            raise errors.IgnoreObject("Error connecting")

        banner = wrapped['data']['banner'].resolve()
        starttls = wrapped['data']['starttls'].resolve()
        
        zout = ZMapTransformOutput()
        try:
            tls_handshake = obj['data']['tls']
            out, certificates = https.HTTPSTransform.make_tls_obj(tls_handshake)
            zout.transformed['tls'] = out
            zout.certificates = certificates
        except (TypeError, __HOLE__, IndexError):
            pass

        if banner is not None:
            zout.transformed['banner'] = self.clean_banner(banner)
        if starttls is not None:
            zout.transformed['starttls'] = self.clean_banner(starttls)
        
        if len(zout.transformed) == 0:
            raise errors.IgnoreObject("Empty output dict")

        return zout
dataset/ETHPy150Open zmap/ztag/ztag/transforms/pop3.py/POP3StartTLSTransform._transform_object