Model class

The Model class is a helper class to store information about models in the GWLandscape database. They can be created, updated, deleted and obtained using the GWLandscape class.

class gwlandscape_python.model_type.Model(client: gwlandscape_python.gwlandscape.GWLandscape, id: str, name: str, summary: str, description: str)

Bases: object

client: gwlandscape_python.gwlandscape.GWLandscape
delete()

Remove this Model from the GWLandscape database

description: str
id: str
name: str
summary: str
update(name=None, summary=None, description=None)

Update this Model in the GWLandscape database

Parameters
  • name (str, optional) – The new name, by default None

  • summary (str, optional) – The new summary, by default None

  • description (str, optional) – The new description, by default None