I found some more time to play around with this again, and I'm calling the following lines of code in a library script with a gateway message handler via send request:
stores = context.historyManager.getStores(HistoryFlavor.SQLTAG)
return [str(stores[0]), dir(stores[0])]
Output:
['Sample_SQLite_Database', ['__add__', '__class__', '__cmp__', '__contains__', '__delattr__', '__doc__', '__ensure_finalizer__',
'__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__getslice__',
'__gt__', '__hash__', '__init__', '__le__', '__len__', '__lt__', '__mod__', '__mul__', '__ne__',
'__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmul__', '__setattr__', '__str__',
'__subclasshook__', '_formatter_field_name_split', '_formatter_parser', 'capitalize', 'center', 'count',
'decode', 'encode', 'endswith', 'expandtabs', 'find', 'format', 'index', 'isalnum', 'isalpha', 'isdecimal',
'isdigit', 'islower', 'isnumeric', 'isspace', 'istitle', 'isunicode', 'isupper', 'join', 'ljust', 'lower', 'lstrip',
'partition', 'replace', 'rfind', 'rindex', 'rjust', 'rpartition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip',
'swapcase', 'title', 'translate', 'upper', 'zfill']]
It doesn't return the database when the database is disabled, and I still don't see the enabled bit I was looking for, so I must have missed a key concept. What is the advantage of this approach over system.tag.browseHistoricalTags().results
? Is it the fact that it doesn't return non SQL historical tag provider types?