Generic Variable API Module

class qe_api_client.api_classes.engine_generic_variable_api.EngineGenericVariableApi(socket)[source]

Bases: object

API class for interacting with Qlik Sense engine’s generic variable object.

set_string_value(handle, str_val)[source]

Sets the value of a string variable.

get_properties(handle)[source]

Retrieves the properties of a generic variable.

get_properties(handle)[source]

Retrieves the properties of a generic variable from the Qlik Sense engine.

Parameters:

handle (int) – The handle identifying the variable.

Returns:

The properties of the generic variable. In case of an error, returns the error information.

Return type:

dict

set_string_value(handle, str_val)[source]

Sets the value of a string variable in the Qlik Sense engine.

Parameters:
  • handle (int) – The handle identifying the variable.

  • str_val (str) – The string value to set for the variable.

Returns:

The result of the set operation. In case of an error, returns the error information.

Return type:

dict