Skip to main content
show_triggers(trigger_ids=None, options=)[source]

Retrieves information regarding the specified triggers or all existing triggers currently active.

Parameters

trigger_ids (list of str) –

List of IDs of the triggers whose information is to be retrieved. An empty list means information will be retrieved on all active triggers. The user can provide a single element (which will be automatically promoted to a list internally) or a list.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

trigger_map (dict of str to dicts of str to str) –

This dictionary contains (key, value) pairs of (trigger ID, information map/dictionary) where the key is a Unicode string representing a Trigger ID. The value is another embedded dictionary containing (key, value) pairs where the keys consist of ‘table_name’, ‘type’ and the parameter names relating to the trigger type, e.g. nai, min, max. The values are unicode strings (numeric values are also converted to strings) representing the value of the respective parameter. If a trigger is associated with multiple tables, then the string value for table_name contains a comma separated list of table names.

info (dict of str to str) –

Additional information.