When running two commands sequentially only one is ingested
From daiquiri i ingest an image, and an info message to the logbook.
The following results in only the notify being ingested
metadata = tango.DeviceProxy("id21/metadata/session_sxm")
metadata.uploadBase64(kwargs["image"])
metadata.notifyInfo(
f"Saved current acquisition image for sample {kwargs['sample']['name']}"
)
if i add a sleep then both are ingested
metadata = tango.DeviceProxy("id21/metadata/session_sxm")
metadata.uploadBase64(kwargs["image"])
time.sleep(1)
metadata.notifyInfo(
f"Saved current acquisition image for sample {kwargs['sample']['name']}"
)