code: def get_views(self):
      records = (
          db.session.query(db.View)
          .filter_by(project_id=self.id, company_id=ctx.company_id)
          .order_by(db.View.name, db.View.id)
          .all()
      )
      data = [
          {
              "name": view_record.name,
              "query": view_record.query,
              "metadata": {
                  "type": "view",
                  "id": view_record.id,
                  "deletable": True,
              },
          }
          for view_record in records
      ]
      return data
  
imports: import datetime
  from typing import List
  from collections import OrderedDict
  import sqlalchemy
  import numpy
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql import parse_sql
  from mindsdb.interfaces.storage import db
  from mindsdb.utilities.config import Config
  from mindsdb.interfaces.model.model_controller import ModelController
  from mindsdb.interfaces.database.views import ViewController
  from mindsdb.utilities.context import context
  from mindsdb.utilities.exception import EntityExistsError
  import mindsdb.utilities.profiler
label_desc: Use image node_id 15 for calling the Project obj's underlying member method code with example usage: obj.get_views() and returns: data