Skip to content

Commit 4019d4f

Browse files
committed
fix hackernews
1 parent 0456f32 commit 4019d4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

metrics/examples/hackernews/hackernews.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ plot_cron_schedule: "15 9 * * *"
1010
alert_methods: "email,slack"
1111
disable_llmalert: False
1212
ingest_fn: >
13-
{% include "./examples/hackernews/hn_top_stories_scores.py" %}
13+
{% include "./examples/hackernews/hackernews.py" %}

notebooks/run_qry.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"cell_type": "code",
30-
"execution_count": 2,
30+
"execution_count": null,
3131
"metadata": {},
3232
"outputs": [
3333
{
@@ -49,9 +49,9 @@
4949
"# read qry from local sql file\n",
5050
"# qry = open(\"qry.sql\", \"r\").read()\n",
5151
"qry = \"\"\"\n",
52-
"select \n",
53-
" metric_name, metric_timestamp \n",
54-
"from \n",
52+
"select\n",
53+
" metric_name, metric_timestamp\n",
54+
"from\n",
5555
" metrics_coindesk\n",
5656
"order by metric_timestamp desc\n",
5757
"limit 100\n",

0 commit comments

Comments
 (0)