def pta_to_glsl_type(self, pta_handle):
        for pta_type, glsl_type in iteritems(GroupedInputBlock.PTA_MAPPINGS):
            if isinstance(pta_handle, pta_type):
                return glsl_type
        self.error("Unrecognized PTA type:", pta_handle)
Method virDomain.info (libvirt version < 1.2.11) is
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/util/shader_input_blocks.py/GroupedInputBlock.pta_to_glsl_type--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/compat.py/get_domain_info