|
From: | John Snow |
Subject: | Re: [PATCH v3 13/25] python/aqmp: add QMP Message format |
Date: | Wed, 18 Aug 2021 10:31:17 -0400 |
On Tue, Aug 03, 2021 at 02:29:29PM -0400, John Snow wrote:
> The Message class is here primarily to serve as a solid type to use for
> mypy static typing for unambiguous annotation and documentation.
>
> We can also stuff JSON serialization and deserialization into this class
> itself so it can be re-used even outside this infrastructure.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> python/qemu/aqmp/__init__.py | 4 +-
> python/qemu/aqmp/message.py | 209 +++++++++++++++++++++++++++++++++++
> 2 files changed, 212 insertions(+), 1 deletion(-)
> create mode 100644 python/qemu/aqmp/message.py
Reviewed-by: Eric Blake <eblake@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |