class_docstr: Knowledge base controller handles all
  manages knowledge bases
class_docstr_tok: ["Knowledge","base","controller","handles","all","manages","knowledge","bases"]
docstr: List all knowledge bases from the database
  belonging to a project
docstr_tok: ["List","all","knowledge","bases","from","the","database","belonging","to","a","project"]
code: def list(self, project_id: str) -> List[db.KnowledgeBase]:
      """
      List all knowledge bases from the database
      belonging to a project
      """
      kbs = (
          db.session.query(db.KnowledgeBase)
          .filter_by(
              project_id=project_id,
          )
          .all()
      )
      return kbs
  
imports: import copy
  from typing import List
  import pandas
  import mindsdb_sql.planner.utils
  from mindsdb_sql.parser.ast import BinaryOperation, Constant, Identifier, Select, Update, Delete, Star
  from mindsdb_sql.parser.dialects.mindsdb import CreatePredictor
  import mindsdb.interfaces.storage.db
  from mindsdb.integrations.libs.vectordatabase_handler import TableField
  from mindsdb.utilities.exception import EntityExistsError, EntityNotExistsError
label_desc: Use image node_id 8 for calling the KnowledgeBaseController obj's underlying member method code with example usage: obj.list(project_id) and returns: kbs