diff options
| author | John Snow <jsnow@redhat.com> | 2021-02-15 21:17:54 -0500 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2021-02-18 19:37:20 +0100 |
| commit | 84bece7dd4ce7ca5a36bc996452ebc882f59ae54 (patch) | |
| tree | f6a44f2f9049c6f57cb5dd58cfdcd49b32657eb9 /scripts/qapi/visit.py | |
| parent | d70f5130f6779042f43d315a9bf2dd182e4708c7 (diff) | |
| download | focaccia-qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.gz focaccia-qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.zip | |
qapi/introspect.py: add _gen_features helper
_make_tree might receive a dict (a SchemaInfo object) or some other type (usually, a string) for its obj parameter. Adding features information should arguably be performed by the caller at such a time when we know the type of the object and don't have to re-interrogate it. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20210216021809.134886-5-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/visit.py')
0 files changed, 0 insertions, 0 deletions