title: Python MySql Connector prepared statement and dictionary class
body: <p>How do I make my cursor a prepared statement as well as a dictionary.
  I have the following.</p>
  
  <pre><code> cursor(cursor_class = MySQLCursorPrepared)
   prints &lt;class 'mysql.connector.cursor.MySQLCursorPrepared'&gt;
   cursor(dictionary = True)
   prints &lt;class 'mysql.connector.cursor.MySQLCursorDict'&gt;
  </code></pre>
  
  <p>So I am overwriting the prepared statement with the dictionary.  I am using the mysql connector for python3.  </p>
  
  <p>I have tried</p>
  
  <pre><code> cursor(prepared=True,dictionary=True)
  </code></pre>
  
  <p>That errors with </p>
  
  <pre><code>Cursor not available with given criteria: dictionary, prepared
  </code></pre>
  
  <p>Interestingly </p>
  
  <pre><code>cursor(cursor_class = MySQLCursorPrepared,dictionary = True)
  </code></pre>
  
  <p>I get no errors but the data not of dictionary type. </p>