Ensuring that mypy gets the hint that compared values are always of same types when comparing Unions of multiple types

前端 未结 0 1707
再見小時候
再見小時候 2021-01-26 09:20

I get the following traceback that mypy throws:

dust/core/validator/_validators.py:504: error: Unsupported operand types for < ("str" and "Valid         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题