Python Insert Array Into Sql Syntax Validator