def _getPredictedField(options):
if not options['<STR_LIT>'] ornot options['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>return None, None<EOL><DEDENT>predictedField = options['<STR_LIT>']['<STR_LIT>']<EOL>predictedFieldInfo = None<EOL>includedFields = options['<STR_LIT>']<EOL>for info in includedFields:<EOL><INDENT>if info['<STR_LIT>'] == predictedField:<EOL><INDENT>predictedFieldInfo = info<EOL>break<EOL><DEDENT><DEDENT>if predictedFieldInfo is None:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>" % predictedField<EOL>)<EOL><DEDENT>predictedFieldType = predictedFieldInfo['<STR_LIT>']<EOL>return predictedField, predictedFieldType<EOL>
Gets the predicted field and it's datatype from the options dictionary

    Returns: (predictedFieldName, predictedFieldType)