6 parser = argparse.ArgumentParser()
7 parser.add_argument('-u', '--uuid', type=str, default="")
8 args = parser.parse_args()
16 filter1.append ('object_uuid')
18 filter1.append (args.uuid)
19 filters.append (filter1)
22 from arvados.events import subscribe
24 api = arvados.api('v1', cache=False)
28 ws = subscribe(api, filters, lambda ev: on_message(ev))