code: def get(method, hmc, uri, uri_parms, logon_required):
          
          cpc_oid = uri_parms[0]
          query_str = uri_parms[1]
          try:
              cpc = hmc.cpcs.lookup_by_oid(cpc_oid)
          except KeyError:
              raise InvalidResourceError(method, uri)
          result_adapters = []
          if cpc.dpm_enabled:
              filter_args = parse_query_parms(method, uri, query_str)
              for adapter in cpc.adapters.list(filter_args):
                  result_adapter = {}
                  for prop in adapter.properties:
                      if prop in ('object-uri', 'name', 'status'):
                          result_adapter[prop] = adapter.properties[prop]
                  result_adapters.append(result_adapter)
          return {'adapters': result_adapters}
docs: Operation: List Adapters of a CPC (empty result if not in DPM
          mode).