def retrieve_netting_set(self, asset_manager_id, transaction_id):
self.logger.info('<STR_LIT>', asset_manager_id,<EOL>transaction_id)<EOL>url = '<STR_LIT>' % (self.endpoint, asset_manager_id, transaction_id)<EOL>response = self.session.get(url)<EOL>if response.ok:<EOL><INDENT>net_transaction_id, netting_set_json = next(iter(response.json().items()))<EOL>netting_set = [json_to_transaction(net_transaction) for net_transaction in netting_set_json]<EOL>self.logger.info('<STR_LIT>', len(netting_set))<EOL>return net_transaction_id, netting_set<EOL><DEDENT>else:<EOL><INDENT>self.logger.error(response.text)<EOL>response.raise_for_status()<EOL><DEDENT>
Returns all the transaction_ids associated with a single netting set.  Pass in the ID for any transaction in
the set.
:param asset_manager_id:  The asset_manager_id for the netting set owner.
:param transaction_id: A transaction_id of an entry within the netting set.
:return: