Queries
DemographicInfoQuery
- class q2_cores.EPL.queries.demographic_info_query.DemographicInfoQuery(logger, ssn, institution_id, consumer_id, request_namespace=None, header_namespace=None)[source]
Bases:
EplSoapBase
Builds the xml payload for the demographic call for the EPL core.
Object which builds the query to be send to the Core. If server is running debug mode, will return mocked response instead of calling the core.
- Parameters:
logger (
Logger
) – Reference to calling request’s logger (self.logger in your extension)mock_failure – If server is running in debug mode, will be used while mocking the response
EplSoapBaseQuery
- class q2_cores.EPL.queries.epl_soap_base.EplSoapBase(logger)[source]
Bases:
BaseQuery
Object which builds the query to be send to the Core. If server is running debug mode, will return mocked response instead of calling the core.
- Parameters:
logger (
Logger
) – Reference to calling request’s logger (self.logger in your extension)mock_failure – If server is running in debug mode, will be used while mocking the response