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 <js...@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 <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org