John Snow <js...@redhat.com> writes:

> Including it in common.py creates a circular import dependency, because
> schema relies on common.py. To type build_params properly, it needs to
> be moved outside of the chain.
>
> Signed-off-by: John Snow <js...@redhat.com>
> ---
>  scripts/qapi/commands.py |  2 +-
>  scripts/qapi/common.py   | 23 -----------------------
>  scripts/qapi/events.py   |  2 +-
>  scripts/qapi/params.py   | 40 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 42 insertions(+), 25 deletions(-)
>  create mode 100644 scripts/qapi/params.py

Ugh.

Would moving it gen.py work?


Reply via email to