Trying to use enum as index works but gives warning in pycharm

后端 未结 0 360
逝去的感伤
逝去的感伤 2021-02-08 06:01

I have this enum class:

class MtuType(IntEnum):
        GENERATED = 0
        CONSUMED = 1
        NET = 2
        PEAK_GENERATED = 3
        PEAK_CONSUMED = 4
           


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