BaseMapper

class q2_sdk.models.cores.mappers.base_mapper.BaseMapper(list_of_queries, hq_credentials=None, zone_context=None)[source]

All mappers will inherit from this common base class. Typically not used directly, but in conjunction with a BaseCore that invokes these methods.

async execute()[source]
  • Calls .execute on all queries in self.list_of_queries

  • Calls .parse_returned_queries on the results

static parse_returned_queries(list_of_queries)[source]

After all queries in list_of_queries have been run, this parses the results into a standardized response type.