code: def views(model: "Model") -> list:
      
      if not isinstance(model, Model):
          raise TypeError("Expected a Model, not %r." % model)
      return model._model_views[:]
docs: Return a model's views keyed on what events they respond to.
  
      Model views are added by calling :func:`view` on a model.