Open tombulled opened 1 year ago
It might be cool to simplify some of the logic by leaning on typing_inspect a bit - https://github.com/ilevkivskyi/typing_inspect
typing_inspect
Use pytype as a reference: https://github.com/Stewori/pytypes/blob/3846f1be3e44892c8e60f750f7581cbddd8be383/pytypes/type_util.py#L1812
pytype
Another potential reference: https://github.com/bojiang/typing_utils
It might be cool to simplify some of the logic by leaning on
typing_inspect
a bit - https://github.com/ilevkivskyi/typing_inspect