CityofToronto / bdit_traffic_prophet

Suite of algorithms for predicting average daily traffic on Toronto streets
GNU General Public License v3.0
1 stars 1 forks source link

Make Postgres hooks more elegant #24

Open cczhu opened 4 years ago

cczhu commented 4 years ago

As of #22 we have a Postgres interface that gets username, port, host IP and password from a private credential file, the database connection name from the main config.py, and the specific schema and table to read from manually passed to the constructor. This is a terrible API and should be replaced, but we need to see how to implement Postgres hooks in Kedro before designing a better system, since it may already have a more consistent system in place.