Mappers

DemographicInfoMapper

class q2_cores.XP2.mappers.demographic_info_mapper.DemographicInfoMapper(list_of_queries, hq_credentials=None, zone_context=None)[source]

Bases: XP2Mapper

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.

Return type:

DemographicInfo

InitialSearchMapper

class q2_cores.XP2.mappers.initial_search_mapper.InitialSearchMapper(list_of_queries, hq_credentials=None, zone_context=None)[source]

Bases: XP2Mapper

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.

Return type:

str

class q2_cores.XP2.mappers.initial_search_mapper.InitialSearchSSNMapper(list_of_queries, hq_credentials=None, zone_context=None)[source]

Bases: XP2Mapper

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.

Return type:

str

XP2Mapper

class q2_cores.XP2.mappers.xp2_mapper.XP2Mapper(list_of_queries, hq_credentials=None, zone_context=None)[source]

Bases: BaseMapper

static unpack_return_mesage(raw_response)[source]