def __init__()

in src/local_gpu_verifier/src/verifier/nvml/__init__.py [0:0]


    def __init__(self, index, nonce, settings):
        """ Constructor method for the NvmlHandler class that initializes the
        various field values.

        Args:
            index (int): the index of the NvmlHandler class object.
            nonce (bytes): the nonce for the attestation report.
            settings (config.HopperSettings): the object containing the various config info.
        """
        assert type(index) is int
        assert type(nonce) is bytes and len(nonce) == BaseSettings.SIZE_OF_NONCE_IN_BYTES

        self.Index = index
        self.init_handle()
        self.init_driver_version()
        self.init_board_id()
        self.init_uuid()
        self.init_gpu_architecture()
        self.init_vbios_version()
        self.CertificateChains = GpuCertificateChains(self.Handles[index])
        self.AttestationReport = self.fetch_attestation_report(index, nonce)
        settings.mark_attestation_report_as_available()