Instead of using the long AUTO_DETECT, simply use None to specify auto-detect.