Postgresql Text To Array Python Initialize List