Generic Measure API Module

class qe_api_client.api_classes.engine_generic_measure_api.EngineGenericMeasureApi(socket)[source]

Bases: object

API class for interacting with Qlik Sense engine’s generic measure objects.

get_measure(handle, measure_id)[source]

Retrieves the definition of a specific measure.

get_measure(app_handle: int, measure_id: str)[source]

Retrieves the definition of a specific measure from the Qlik Sense engine.

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

  • measure_id (str) – The unique identifier (qId) of the measure to retrieve.

Returns:

The definition of the requested measure (qReturn). In case of an error, returns the error information.

Return type:

dict