Skip to content

Commit 0adbe8f

Browse files
committed
Fix merge conflict copy/paste issue
1 parent 2121861 commit 0adbe8f

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

  • multinet/api/tasks/upload

multinet/api/tasks/upload/csv.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,10 @@ def process_csv(
6565
# Download data from S3/MinIO
6666
with upload.blob as blob_file:
6767
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-
)
68+
csv_reader = csv.DictReader(
69+
StringIO(blob_file.read().decode('utf-8')),
70+
delimiter=delimiter,
71+
quotechar=quotechar,
7472
)
7573

7674
# Cast entries in each row to appropriate type, if necessary

0 commit comments

Comments
 (0)