I just realized you can't annotate sentinels in Python. For example, it's impossible to annotate a function that could return sys.monitoring.DISABLE. Seems like a missing piece :(
1
0
11
807
0
@tiangao_coder welcome to the club. maybe literal type with reference values support could solve this?