def retrieve_netting_set(self, asset_manager_id, transaction_id):
        """
        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:
        """
        self.logger.info('Retrieve Netting Set - Asset Manager: %s - Transaction ID: %s', asset_manager_id,
                         transaction_id)
        url = '%s/netting/%s/%s' % (self.endpoint, asset_manager_id, transaction_id)
        response = self.session.get(url)
        if response.ok:
            net_transaction_id, netting_set_json = next(iter(response.json().items()))
            netting_set = [json_to_transaction(net_transaction) for net_transaction in netting_set_json]
            self.logger.info('Returned %s Transactions in Netting Set.', len(netting_set))
            return net_transaction_id, netting_set
        else:
            self.logger.error(response.text)
            response.raise_for_status()
def retrieve_netting_set ( self , asset_manager_id , transaction_id ) : self . logger . info ( 'Retrieve Netting Set - Asset Manager: %s - Transaction ID: %s' , asset_manager_id , transaction_id ) url = '%s/netting/%s/%s' % ( self . endpoint , asset_manager_id , transaction_id ) response = self . session . get ( url ) if response . ok : net_transaction_id , netting_set_json = next ( iter ( response . json ( ) . items ( ) ) ) netting_set = [ json_to_transaction ( net_transaction ) for net_transaction in netting_set_json ] self . logger . info ( 'Returned %s Transactions in Netting Set.' , len ( netting_set ) ) return net_transaction_id , netting_set else : self . logger . error ( response . text ) response . raise_for_status ( )
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: