title: type hint: how should type of lru_cache be defined?
body: <p>Given the following function</p>
  
  <pre><code>@lru_cache(maxsize=1)
  def get_response_from_api() -&gt; List[ApiObject]:
      url = _get_api_url()
      response = requests.get(url).text
      return json.loads(response, object_hook=_create_api_obj)
  </code></pre>
  
  <p>when running </p>
  
  <blockquote>
    <p>mypy predictor --ignore-missing-imports --strict</p>
  </blockquote>
  
  <p>I am getting the error message: </p>
  
  <blockquote>
    <p>error: Untyped decorator makes function "get_response_from_api" untyped</p>
  </blockquote>
  
  <p>How can i fix this ?</p>
  
  <p>How should i annotate the lru_cache function?</p>