Skip to content

Commit 3308f5b

Browse files
committed
🎨 Add more blank lines
1 parent 558b06c commit 3308f5b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pystreamapi/loaders/__csv_loader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def csv(file_path: str, delimiter=',', encoding="utf-8") -> list:
2626

2727
return data
2828

29+
2930
def __validate_path(file_path: str):
3031
"""Validate a path string to prevent path traversal attacks"""
3132
if not os.path.isabs(file_path):
@@ -36,6 +37,7 @@ def __validate_path(file_path: str):
3637

3738
return file_path
3839

40+
3941
def __try_cast(value):
4042
"""Try to cast value to primary data types from python (int, float, bool)"""
4143
for cast in (int, float):

0 commit comments

Comments
 (0)