Skip to content

Commit 07f5a9b

Browse files
authored
Remove unused import from extract.py
Removed unused import of Optional from typing.
1 parent 6e5d072 commit 07f5a9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/etl/extract.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import pandas as pd
22
import os
33
# TODO (Find & Fix)
4-
from typing import Optional
54

65
def extract(path: str = "xyz.csv") -> pd.DataFrame :
76
"""
@@ -51,4 +50,4 @@ def extract(path: str = "xyz.csv") -> pd.DataFrame :
5150
except pd.errors.ParserError as e:
5251
raise ValueError(f"❌ Error parsing CSV: {e}")
5352
except Exception as e:
54-
raise ValueError(f"❌ Unexpected error reading file: {e}")
53+
raise ValueError(f"❌ Unexpected error reading file: {e}")

0 commit comments

Comments
 (0)