get_global_variable

Descripción

Obtiene el valor de una variable global del diccionario '_GLOBAL_VARIABLES'.

Parámetros

Nombre Tipo Requerido Descripción
variable_name str Si Nombre de la variable a establecer

Return 

Tipo
None


Versión

Ejemplo

import pandoraPlugintools as pt

# Define the variable name to retrieve
variable_name = 'tentacle_client'

# Get the value of the global variable
value = pt.transfer.get_global_variable(variable_name)

# Print the value of the global variable
print(f"The value of '{variable_name}' is: {value}")

Revision #6
Created 16 August 2023 08:07:38 by alejandro.sanchez
Updated 14 February 2024 14:08:07 by alejandro.sanchez