I try to convert SRContext.get() from 7.9 to 8.0
In my case I need to access the historyManager in a gateway scoped script …
from com.inductiveautomation.ignition.gateway import SRContext
context = SRContext.get()
connection = "histo"
qi = [(Long(qdi.id)) for qdi in context.historyManager.getQuarantinedDataInfo(connection)]