Skip to content

Commit 275ef41

Browse files
committed
cleaned up run_app
1 parent 6186f11 commit 275ef41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/runners/run_app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from databay import Link
77
from databay.inlets.file_inlet import FileInlet, FileInletMode
88
from databay.planners import APSPlanner, SchedulePlanner
9-
# from databay.inlets.AlphavantageInlet import AlphavantageInlet
109
from databay.inlets import HttpInlet
1110
from databay.outlets import CsvOutlet
1211
from databay.outlets import MongoOutlet
@@ -22,7 +21,7 @@ def run(self):
2221
# planner = APSPlanner()
2322
planner = SchedulePlanner(refresh_interval=0.5)
2423

25-
# alphavantage_inlet = AlphavantageInlet(key='9TZBJ8V9EMEES2WN', symbol='TSLA', interval='1min', metadata={'MONGODB_COLLECTION': 'alpha_prices'})
24+
2625
http_inlet = HttpInlet('https://jsonplaceholder.typicode.com/todos/1', metadata={CsvOutlet.FILE_MODE:'a'})
2726
file_inlet = FileInlet('output_03.csv', read_mode=FileInletMode.LINE)
2827
http_inlet2 = HttpInlet('https://postman-echo.com/get?foo1=bar1&foo2=bar2', metadata={'MONGODB_COLLECTION': 'test_collection2', 'csv_file': 'output_02.csv'})

0 commit comments

Comments
 (0)