Re: [PATCH v3 13/25] python/aqmp: add QMP Message format

2021-08-18 Thread John Snow
On Tue, Aug 17, 2021 at 3:48 PM Eric Blake wrote: > 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 serializat

Re: [PATCH v3 13/25] python/aqmp: add QMP Message format

2021-08-17 Thread Eric Blake
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

[PATCH v3 13/25] python/aqmp: add QMP Message format

2021-08-03 Thread John Snow
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