Skip to content

Commit

Permalink
[hotfix] fixing the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 4, 2016
1 parent 8703fa9 commit 486fb8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions panoramix/data/__init__.py
Expand Up @@ -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": "",
Expand All @@ -340,15 +341,20 @@ 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',
datasource_type='table',
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',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -36,7 +36,7 @@
'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',
Expand Down

0 comments on commit 486fb8b

Please sign in to comment.