This is rather complicated. [1] is helpful to understand what we're doing here. [1] https://adamj.eu/tech/2021/10/18/python-type-hints-how-to-type-a-descriptor/ Change-Id: I51475a28c98906d84d07ebead48cefc998276d81 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>