<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_transactions_filtered(self, asset_id, operation=None):
 """Get a list of transactions filtered on some criteria """

        txids = backend.query.get_txids_filtered(self.connection, asset_id,
                                                 operation)
        for txid in txids:
            yield self.get_transaction(txid)