Postgres Split Array Python Initialize Class