title: How do I annotate a callable with *args and **kwargs?
body: <p>I have a function which returns a function. I would like to find a proper type annotation. However, the returned function has <code>*args</code> and <code>*kwargs</code>. How is that annotated within <code>Callable[[Parameters???], ReturnType]</code>?</p>
  <p>Example:</p>
  <pre><code>from typing import Callable
  import io
  import pandas as pd
  
  def get_conversion_function(file_type: str) -&gt; Callable[[io.BytesIO, TODO], pd.DataFrame]:
      def to_csv(bytes_, *args, **kwargs):
          return pd.read_csv(bytes_, **kwargs)
      if file_type == &quot;csv&quot;:
          return to_csv
  </code></pre>