Postgres Select Item In Array Python Methods