def GetByID(self, ID):
        model_obj = None
        try:
            ID = int(ID)
            model_obj = self.db.session.query(models.Transaction).get(ID)
        except __HOLE__:
            pass
        finally:
            return(model_obj)  # None returned if no such transaction.
dataset/ETHPy150Open owtf/owtf/framework/db/transaction_manager.py/TransactionManager.GetByID