We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2121861 commit 0adbe8fCopy full SHA for 0adbe8f
1 file changed
multinet/api/tasks/upload/csv.py
@@ -65,12 +65,10 @@ def process_csv(
65
# Download data from S3/MinIO
66
with upload.blob as blob_file:
67
blob_file: BinaryIO = blob_file
68
- csv_rows = list(
69
- csv.DictReader(
70
- StringIO(blob_file.read().decode('utf-8')),
71
- delimiter=delimiter,
72
- quotechar=quotechar,
73
- )
+ csv_reader = csv.DictReader(
+ StringIO(blob_file.read().decode('utf-8')),
+ delimiter=delimiter,
+ quotechar=quotechar,
74
)
75
76
# Cast entries in each row to appropriate type, if necessary
0 commit comments