title: How to declare an array or a list in a Python @dataclass?
body: <p>How can I declare an array (or at least list) in <code>@dataclass</code>? A something like below:  </p>
  
  <pre><code>from dataclasses import dataclass
  
  @dataclass
  class Test():
      my_array: Array[ChildType]
  </code></pre>