Re: [PATCH 12/20] python/aqmp: add QMP Message format

2021-07-08 Thread John Snow
On Wed, Jul 7, 2021 at 10:52 AM Niteesh G. S. wrote: > > > On Thu, Jul 1, 2021 at 9:43 AM 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

Re: [PATCH 12/20] python/aqmp: add QMP Message format

2021-07-07 Thread Niteesh G. S.
On Thu, Jul 1, 2021 at 9:43 AM 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

[PATCH 12/20] python/aqmp: add QMP Message format

2021-06-30 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