How can I list all existing presamples
campaigns in my brighway2 project? :)
I've been checking the documentation but I can't find how to do this.
Campaign
is a normal peewee Model
, so you can follow the peewee querying patterns, e.g. [obj.name for obj in Campaign.select()]
.