aboutsummaryrefslogtreecommitdiff
path: root/gn2/base/data_set/tempdataset.py
blob: b1c26a3ba19f61a5c7dfc3613889ebafb3cb507d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"TempDataSet class ..."

from .dataset import DataSet

class TempDataSet(DataSet):
    """Temporary user-generated data set"""

    def setup(self):
        self.search_fields = ['name',
                              'description']

        self.display_fields = ['name',
                               'description']

        self.header_fields = ['Name',
                              'Description']

        self.type = 'Temp'

        # Need to double check later how these are used
        self.id = 1
        self.fullname = 'Temporary Storage'
        self.shortname = 'Temp'