Skip to main content

set_disco_summary

 

Descripción

Establecer valor fijo en el diccionario  '_SUMMARY'.

Versión

  • 1.0.0

Ejemplo

import pandoraPluginTools as pt
from pandoraPluginTools import discovery

# Create a sample data dictionary
sample_data = {
    'total_devices': 50,
    'active_devices': 30,
    'inactive_devices': 20
}

# Set the discovery summary using the sample data
discovery.set_disco_summary(sample_data)

# Verify by printing the updated _SUMMARY
print(discovery._SUMMARY)