[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 13/25] python/aqmp: add QMP Message format
From: |
Eric Blake |
Subject: |
Re: [PATCH v3 13/25] python/aqmp: add QMP Message format |
Date: |
Tue, 17 Aug 2021 14:47:58 -0500 |
User-agent: |
NeoMutt/20210205-719-68949a |
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>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PATCH v3 04/25] python/aqmp: add asyncio compatibility wrappers, (continued)
- [PATCH v3 04/25] python/aqmp: add asyncio compatibility wrappers, John Snow, 2021/08/03
- [PATCH v3 09/25] python/aqmp: add AsyncProtocol.accept() method, John Snow, 2021/08/03
- [PATCH v3 10/25] python/aqmp: add configurable read buffer limit, John Snow, 2021/08/03
- [PATCH v3 14/25] python/aqmp: add well-known QMP object models, John Snow, 2021/08/03
- [PATCH v3 12/25] python/aqmp: add AsyncProtocol._readline() method, John Snow, 2021/08/03
- [PATCH v3 13/25] python/aqmp: add QMP Message format, John Snow, 2021/08/03
- Re: [PATCH v3 13/25] python/aqmp: add QMP Message format,
Eric Blake <=
- [PATCH v3 15/25] python/aqmp: add QMP event support, John Snow, 2021/08/03
- [PATCH v3 17/25] python/aqmp: add QMP protocol support, John Snow, 2021/08/03
- [PATCH v3 16/25] python/pylint: disable too-many-function-args, John Snow, 2021/08/03
- [PATCH v3 18/25] python/pylint: disable no-member check, John Snow, 2021/08/03
- [PATCH v3 19/25] python/aqmp: Add message routing to QMP protocol, John Snow, 2021/08/03
- [PATCH v3 20/25] python/aqmp: add execute() interfaces, John Snow, 2021/08/03
- [PATCH v3 22/25] python/aqmp: add asyncio_run compatibility wrapper, John Snow, 2021/08/03
- [PATCH v3 21/25] python/aqmp: add _raw() execution interface, John Snow, 2021/08/03
- [PATCH v3 24/25] python: bump avocado to v90.0, John Snow, 2021/08/03