aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set/tempdataset.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base/data_set/tempdataset.py')
-rw-r--r--wqflask/base/data_set/tempdataset.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/wqflask/base/data_set/tempdataset.py b/wqflask/base/data_set/tempdataset.py
new file mode 100644
index 00000000..b1c26a3b
--- /dev/null
+++ b/wqflask/base/data_set/tempdataset.py
@@ -0,0 +1,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'