Skip to content

Commit 85341ec

Browse files
committed
fix linting errors
1 parent daaa86c commit 85341ec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/webapp/gcsutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def delete_batch_files(
297297
self.delete_file(bucket_name=bucket_name, file_name=blob_path)
298298
logger.info("Delete successful: gs://%s/%s", bucket_name, blob_path)
299299
deleted.append(
300-
{"file": fname, "path": blob_path, "deleted_at": now_iso}
300+
{"file": fname, "path": blob_path, "deleted_at": str(now_iso)}
301301
)
302302
except ValueError:
303303
logger.warning(

src/webapp/routers/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def delete_batch(
710710
)
711711

712712
# 2) Gather filenames to delete
713-
batch_files: list[str] = (
713+
batch_files: list[str] = list(
714714
sess.execute(
715715
select(FileTable.name).where(
716716
FileTable.id == str_to_uuid(batch_id),

0 commit comments

Comments
 (0)