Green mode for Database object
Hi,
With tango client green modes, only AttributePoxy and DeviceProxy are wrapped by the green decorator to run in an executor.
The tango.Database object is not compatible with green modes, however it might be interesting to be able to write such kind of coroutines:
async def main():
db = await Database()
await for device_name in db.get_device_name("*", "TangoTest"):
device = await DeviceProxy(device_name)
attr = await device.read_attribute("ampli")
Does it make sense to also wrapped the tango.Database with green modes ?
Edited by triage