Compare commits

..

1 Commits

Author SHA1 Message Date
Andrei Stoica efdcc84ae7 basic extraction 2024-01-29 14:47:06 -05:00
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ from .transform import (
import psycopg2 as pg import psycopg2 as pg
from typing import Tuple from typing import Tuple
## TODO seperate out loading from extraction
## this currently handles getting data from api and loading into db
def connect(): def connect():
return pg.connect( return pg.connect(
dbname=env.get("POSTGRES_DB"), dbname=env.get("POSTGRES_DB"),