code: def proof_req2wql_all(proof_req: dict, x_cd_ids: Union[str, Sequence[str]] = None) -> dict:
      
  
      rv = {}
      attr_refts = proof_req_attr_referents(proof_req)
      for cd_id in [k for k in attr_refts if k not in ([x_cd_ids] if isinstance(x_cd_ids, str) else x_cd_ids or [])]:
          rv[set(attr_refts[cd_id].values()).pop()] = {"cred_def_id": cd_id}
  
      return rv
docs: Given a proof request and a list of cred def ids to omit, return an extra WQL query dict
      that will find all corresponding credentials in search.
  
      The proof request must have cred def id restrictions on all requested attribute specifications.
      At present, the utility does not support predicates.
  
      :param proof_req: proof request
      :param x_cd_ids: cred def identifier or sequence thereof to omit
      :return: extra WQL dict to fetch all corresponding credentials in search.