BackOfficeResponse
- class q2_sdk.hq.models.backoffice_response.BackOfficeResponse(raw_response, logger=None)[source]
Wraps a response from HQ up as a handy object to work with
- Parameters:
response – Body of HQ response
- clean_result_node()[source]
Cleans up the grossness of the BackOffice response in a few ways:
Removes namespaces
Moves children of diffgrams to the diffgram’s parent
Removes the diffgram node
Removes schema nodes
Objects from BackOffice typically have a parent and child node named the same thing. Only store the child