[hotfix] fixing the examples

This commit is contained in:
Maxime Beauchemin 2016-03-03 22:22:54 -05:00
parent 8703fa9460
commit 486fb8bfb4
2 changed files with 10 additions and 4 deletions

View File

@ -318,13 +318,14 @@ def load_birth_names():
"datasource_id": "1",
"datasource_name": "birth_names",
"datasource_type": "table",
"flt_op_1": "in",
"limit": "25",
"granularity": "ds",
"groupby": [],
"metric": 'sum__num',
"metrics": ["sum__num"],
"row_limit": config.get("ROW_LIMIT"),
"since": "100 years",
"since": "100 years ago",
"until": "now",
"viz_type": "table",
"where": "",
@ -340,7 +341,9 @@ def load_birth_names():
table=tbl,
params=get_slice_json(
defaults,
groupby=['name'], flt_eq_1="girl", row_limit=50)),
groupby=['name'],
flt_col_1='gender',
flt_eq_1="girl", row_limit=50)),
Slice(
slice_name="Boys",
viz_type='table',
@ -348,7 +351,10 @@ def load_birth_names():
table=tbl,
params=get_slice_json(
defaults,
groupby=['name'], flt_eq_1="boy", row_limit=50)),
groupby=['name'],
flt_col_1='gender',
flt_eq_1="boy",
row_limit=50)),
Slice(
slice_name="Participants",
viz_type='big_number',

View File

@ -36,7 +36,7 @@ setup(
'sqlalchemy-utils>=0.31.3, <0.32.0',
'sqlalchemy>=1.0.8, <2.0.0',
'sqlparse>=0.1.16, <0.2.0',
'werkzeug==0.11.2, <0.12.0',
'werkzeug>=0.11.2, <0.12.0',
],
author='Maxime Beauchemin',
author_email='maximebeauchemin@gmail.com',