set_global_variable

Descripción

Establece el valor de una variable global en el diccionario 'global_variables'.

Parámetros

Nombre  Tipo Requerido Descripción
variable_name str Si Nombre de la variable a establecer
value None Si Valor a asignar a la variable

Return 

Tipo
None

Versión

Ejemplo

import pandoraPlugintools as pt

variable_name = "agents_group_name"
value = "Servers"

pt.agents.set_global_variable(variable_name, value)

print(pt.agents._GLOBAL_VARIABLES)

Revision #14
Created 27 July 2023 07:20:33 by alejandro.sanchez
Updated 13 February 2024 17:20:15 by alejandro.sanchez