should you set self.dialect = dialect here or do we get that from sqlsoup?