On Thu, Feb 27, 2025 at 09:07:57AM +0100, Markus Armbruster wrote: > A TODO comment in class Annotated reminds us to simplify it once we > can use @dataclass, new in Python 3.7. We have that now, so do it. > > There's a similar comment in scripts/qapi/source.py, but I can't > figure out how to use @dataclass there. Left for another day. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > scripts/qapi/introspect.py | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|