Re: [PATCH v4 37/46] qapi/instrospect.py: add preliminary type hint annotations

2020-09-30 Thread Eduardo Habkost
On Wed, Sep 30, 2020 at 12:31:41AM -0400, John Snow wrote: > From: Eduardo Habkost > > The typing of _make_tree and friends is a bit involved, but it can be > done with some stubbed out types and a bit of elbow grease. The > forthcoming patches attempt to make some simplifications, but having

[PATCH v4 37/46] qapi/instrospect.py: add preliminary type hint annotations

2020-09-29 Thread John Snow
From: Eduardo Habkost The typing of _make_tree and friends is a bit involved, but it can be done with some stubbed out types and a bit of elbow grease. The forthcoming patches attempt to make some simplifications, but having the type hints in advance can aid in review. Signed-off-by: Eduardo