OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dashboard_metadata.py
Go to the documentation of this file.
1 old_dashboard_name = "old_dashboard"
2 old_dashboard_state = {
3  "charts": {
4  "1": {
5  "autoSize": True,
6  "areFiltersInverse": False,
7  "cap": 12,
8  "renderArea": False,
9  "color": {
10  "type": "none"
11  },
12  "colorDomain": None,
13  "dcFlag": 1,
14  "densityAccumulatorEnabled": True,
15  "dimensions": [
16  {
17  "inactive": False,
18  "name": None,
19  "isRequired": False,
20  "isError": False,
21  "table": "test_data_no_nulls_ipc",
22  "type": "STR",
23  "precision": 0,
24  "is_array": False,
25  "is_dict": True,
26  "name_is_ambiguous": False,
27  "label": "text_",
28  "value": "text_",
29  "custom": False,
30  "axisLabel": None,
31  "max_val": None,
32  "min_val": None,
33  "maxBinSize": None,
34  "currentHighValue": None,
35  "currentLowValue": None,
36  "autobin": False,
37  "numOfBins": None,
38  "isBinned": False,
39  "isBinnable": False
40  },
41  {
42  "isRequired": False,
43  "isError": False
44  }
45  ],
46  "elasticX": True,
47  "elasticY": True,
48  "filters": [],
49  "geoJson": None,
50  "loading": True,
51  "measures": [
52  {
53  "inactive": False,
54  "name": "col0",
55  "isRequired": False,
56  "isError": False,
57  "label": "# Records",
58  "value": "*",
59  "type": "SMALLINT",
60  "custom": False,
61  "axisLabel": None,
62  "minMax": None,
63  "categories": None,
64  "colorType": "quantitative",
65  "aggType": "Count",
66  "originIndex": 0
67  },
68  {
69  "isRequired": False,
70  "isError": False
71  }
72  ],
73  "rangeChartEnabled": False,
74  "rangeFilter": [],
75  "savedColors": {},
76  "sortColumn": None,
77  "ticks": 3,
78  "title": "",
79  "type": "table",
80  "showOther": False,
81  "showNullDimensions": True,
82  "markTypes": [],
83  "multiSources": {},
84  "hasError": False,
85  "dataSource": "test_data_no_nulls_ipc",
86  "hoverSelectedColumns": []
87  },
88  "test_data_no_nulls_ipc": {
89  "dcFlag": 2,
90  "loading": False,
91  "color": {
92  "defaultOtherDomain": "Default"
93  }
94  }
95  },
96  "ui": {
97  "showFilterPanel": False,
98  "showClearFiltersDropdown": False,
99  "banner": {
100  "open": False,
101  "type": None
102  },
103  "modal": {
104  "type": None,
105  "open": False,
106  "content": "",
107  "header": "",
108  "primaryAction": {
109  "text": "OK"
110  },
111  "secondaryAction": {
112  "text": "CANCEL"
113  }
114  },
115  "selectorPillHover": {
116  "shouldShowPrompt": False,
117  "message": "",
118  "top": 0
119  },
120  "selectorPositions": {
121  "dimensions": [
122  202.60000610351562,
123  242.60000610351562,
124  202.60000610351562,
125  242.60000610351562,
126  202.60000610351562
127  ],
128  "measures": [
129  331.3999938964844,
130  371.3999938964844,
131  331.3999938964844,
132  291.3999938964844
133  ]
134  },
135  "nagScreenIsEnabled": False
136  },
137  "filters": [],
138  "dashboard": {
139  "id": None,
140  "title": "old_dashboard_2",
141  "chartContainers": [
142  {
143  "id": "1"
144  }
145  ],
146  "table": None,
147  "filtersId": [],
148  "layout": [
149  {
150  "w": 10,
151  "h": 10,
152  "x": 0,
153  "y": 0,
154  "i": "1",
155  "minW": 5,
156  "minH": 5,
157  "moved": False,
158  "static": False
159  }
160  ],
161  "currentDataSource": "test_data_no_nulls_ipc",
162  "dataSources": {
163  "test_data_no_nulls_ipc": {
164  "alias": "A",
165  "columnMetadata": [
166  {
167  "table": "test_data_no_nulls_ipc",
168  "type": "TINYINT",
169  "precision": 0,
170  "is_array": False,
171  "is_dict": False,
172  "name_is_ambiguous": False,
173  "label": "tinyint_",
174  "value": "tinyint_"
175  },
176  {
177  "table": "test_data_no_nulls_ipc",
178  "type": "SMALLINT",
179  "precision": 0,
180  "is_array": False,
181  "is_dict": False,
182  "name_is_ambiguous": False,
183  "label": "smallint_",
184  "value": "smallint_"
185  },
186  {
187  "table": "test_data_no_nulls_ipc",
188  "type": "INT",
189  "precision": 0,
190  "is_array": False,
191  "is_dict": False,
192  "name_is_ambiguous": False,
193  "label": "int_",
194  "value": "int_"
195  },
196  {
197  "table": "test_data_no_nulls_ipc",
198  "type": "BIGINT",
199  "precision": 0,
200  "is_array": False,
201  "is_dict": False,
202  "name_is_ambiguous": False,
203  "label": "bigint_",
204  "value": "bigint_"
205  },
206  {
207  "table": "test_data_no_nulls_ipc",
208  "type": "FLOAT",
209  "precision": 0,
210  "is_array": False,
211  "is_dict": False,
212  "name_is_ambiguous": False,
213  "label": "float_",
214  "value": "float_"
215  },
216  {
217  "table": "test_data_no_nulls_ipc",
218  "type": "DOUBLE",
219  "precision": 0,
220  "is_array": False,
221  "is_dict": False,
222  "name_is_ambiguous": False,
223  "label": "double_",
224  "value": "double_"
225  },
226  {
227  "table": "test_data_no_nulls_ipc",
228  "type": "DATE",
229  "precision": 0,
230  "is_array": False,
231  "is_dict": False,
232  "name_is_ambiguous": False,
233  "label": "date_",
234  "value": "date_"
235  },
236  {
237  "table": "test_data_no_nulls_ipc",
238  "type": "TIMESTAMP",
239  "precision": 0,
240  "is_array": False,
241  "is_dict": False,
242  "name_is_ambiguous": False,
243  "label": "datetime_",
244  "value": "datetime_"
245  },
246  {
247  "table": "test_data_no_nulls_ipc",
248  "type": "TIME",
249  "precision": 0,
250  "is_array": False,
251  "is_dict": False,
252  "name_is_ambiguous": False,
253  "label": "time_",
254  "value": "time_"
255  },
256  {
257  "table": "test_data_no_nulls_ipc",
258  "type": "STR",
259  "precision": 0,
260  "is_array": False,
261  "is_dict": True,
262  "name_is_ambiguous": False,
263  "label": "text_",
264  "value": "text_"
265  }
266  ]
267  }
268  },
269  "privileges": {},
270  "saveLinkState": {
271  "error": False,
272  "request": False,
273  "saveLinkId": None
274  },
275  "loadState": {
276  "error": False,
277  "dataAccessError": False,
278  "complete": True,
279  "request": False,
280  "loadLinkId": None
281  },
282  "saveState": {
283  "request": False,
284  "error": False,
285  "isSaved": False
286  },
287  "copyState": {
288  "error": False,
289  "request": False
290  },
291  "streaming": {
292  "interval": 0,
293  "request": False
294  },
295  "version": "4.6.1-20190429-02ec2e206b"
296  },
297  "machineLearning": {
298  "training": False,
299  "queued": False,
300  "error": None,
301  "predictionCol": None,
302  "featureCols": [],
303  "conditions": [],
304  "algorithm": "Linear Regression",
305  "nModels": 3,
306  "nAlphas": 4,
307  "nLambdas": 100,
308  "nFolds": 4,
309  "tensorFlowInput1": 0,
310  "tensorFlowInput2": 0,
311  "deepLearningInput1": "foo",
312  "tableWithPredictions": None,
313  "trainingTable": None,
314  "predictedColumn": None,
315  "accuracyColumn": None,
316  "modelName": "",
317  "predicting": False,
318  "models": [],
319  "complete": False,
320  "trainResults": None,
321  "accuracy": None,
322  "jobId": None,
323  "progress": {
324  "steps": None,
325  "current": None
326  }
327  }
328 }