From 3a727d29ca9047c3f6631018ccc61b4580d3034e Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Wed, 16 Oct 2024 16:11:58 +0100 Subject: [PATCH] Python command correction. Signed-off-by: Konstantina Chremmou --- ocaml/doc/wire-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml/doc/wire-protocol.md b/ocaml/doc/wire-protocol.md index e266afa3a6..26b911bd2c 100644 --- a/ocaml/doc/wire-protocol.md +++ b/ocaml/doc/wire-protocol.md @@ -556,7 +556,7 @@ To retrieve all the VM records in a single call: ```python >>> records = xen.VM.get_all_records(session)['Value'] ->>> records.keys() +>>> list(records.keys()) ['OpaqueRef:1', 'OpaqueRef:2', 'OpaqueRef:3', 'OpaqueRef:4' ] >>> records['OpaqueRef:1']['name_label'] 'Red Hat Enterprise Linux 7'