title: How to get all values from python enum class?
body: <p>I'm using Enum4 library to create an enum class as follows:</p>
  
  <pre><code>class Color(Enum):
      RED = 1
      BLUE = 2
  </code></pre>
  
  <p>I want to print <code>[1, 2]</code> as a list somewhere. How can I achieve this?</p>