title: Expected type 'Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]', got 'Tuple[ImgDirs, ImgDirs, ImgDirs]' instead
body: <p><strong>Python 3.8.5</strong></p>
  <pre><code>def delete_catalogue_from_media(instance,
                                  file_type: Union[general.ImgDirs.RASTER,
                                                   general.ImgDirs.SVG,
                                                   general.ImgDirs.FAV]) -&gt; None:
      # //@formatter:off
      # Assertions {
      assert isinstance(file_type, (general.ImgDirs.RASTER, general.ImgDirs.SVG, general.ImgDirs.FAV))
      # } Assertions
      # //@formatter:on
  </code></pre>
  <p><strong>The problem</strong></p>
  <p>IDE (Pycharm Community 2020.3) shows an error about type mysmatch.</p>
  <pre><code>Expected type 'Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]', got 'Tuple[ImgDirs, ImgDirs, ImgDirs]' instead 
   Inspection info: This inspection detects type errors in function call expressions. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Types of function parameters can be specified in docstrings or in Python 3 function annotations.
  </code></pre>
  <p>Could you help me correct this?</p>
  <p><a href="https://i.stack.imgur.com/jLw4I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jLw4I.png" alt="enter image description here" /></a></p>