The warning is: Expected type 'Union[type, Tuple[type, ...]]', got 'Union[str, unicode]' instead.
Am I doing something wrong?
This issue is a known bug. Please follow https://youtrack.jetbrains.com/issue/PY-23470