BaseRequest
- class q2_sdk.hq.models.hq_request.base.BaseRequest(name, use_json=False, **kwargs)[source]
Bases:
object
All HQ Communication will go through this class
It supports both SOAP and REST communication styles, though ultimately an end user would just call the .execute method and the response is turned into an object
- async execute(params_obj, **kwargs)[source]
- Parameters:
params_obj (
BaseParamsObj
) – Object containing everything necessary to call this HQ endpointkwargs – Optional keyword args as defined for q2_requests.post() e.g. “timeout”
- Return type: