<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_kb(kb_name):
 """Delete given kb from database. :param kb_name: knowledge base name """

    db.session.delete(models.KnwKB.query.filter_by(
        name=kb_name).one())