Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
TelRich committed Aug 19, 2024
1 parent 72c3d7b commit eede9b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions etl/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

import os
import warnings
from dotenv import load_dotenv
from pyspark.sql import SparkSession
import pyspark.pandas as ps
from sqlalchemy import create_engine
from dotenv import load_dotenv

warnings.filterwarnings("ignore")

Expand All @@ -36,7 +36,6 @@
.appName("Data ETL") \
.getOrCreate()
print('PYTHON LOG: Created Spark Session Successfully')

str_engine_wh = "postgresql://" + USER + ":" + PASSWORD + "@" + HOST + ":" + PORT + "/" + DATABASE
print('PYHTON LOG: attempting database connection')
db_engine = create_engine(str_engine_wh)
Expand Down

0 comments on commit eede9b0

Please sign in to comment.