summary refs log tree commit diff stats
path: root/python/qemu/aqmp/message.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* python/aqmp: add QMP Message formatJohn Snow2021-09-271-0/+209
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> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20210915162955.333025-14-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>