title: Text vs str, when using python type hints
body: <p>What should I use when type annotating a string, Text, or str.
  What is the difference when using either?</p>
  <p>for ex:</p>
  <pre><code>from typing import Text
  def spring(a: Text) -&gt; Text:
      return a.upper()
  </code></pre>
  <p>or</p>
  <pre><code>def spring(a: str) -&gt; str:
      return a.upper()
  </code></pre>