Skip to content

Commit eede9b0

Browse files
committed
pylint
1 parent 72c3d7b commit eede9b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

etl/data.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
import os
99
import warnings
10+
from dotenv import load_dotenv
1011
from pyspark.sql import SparkSession
1112
import pyspark.pandas as ps
1213
from sqlalchemy import create_engine
13-
from dotenv import load_dotenv
1414

1515
warnings.filterwarnings("ignore")
1616

@@ -36,7 +36,6 @@
3636
.appName("Data ETL") \
3737
.getOrCreate()
3838
print('PYTHON LOG: Created Spark Session Successfully')
39-
4039
str_engine_wh = "postgresql://" + USER + ":" + PASSWORD + "@" + HOST + ":" + PORT + "/" + DATABASE
4140
print('PYHTON LOG: attempting database connection')
4241
db_engine = create_engine(str_engine_wh)

0 commit comments

Comments
 (0)