File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ async def update(
7070 "outputs" : outputs ,
7171 "status" : status ,
7272 "startedAt" : iso_date if status == "RUNNING" else None ,
73- "finishedAt" : iso_date
74- if status == "SUCCESS" or status == "FAILED"
75- else None ,
73+ "finishedAt" : (
74+ iso_date if status == "SUCCESS" or status == "FAILED" else None
75+ ) ,
7676 }
7777 await self .api .update_step (variables )
7878
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def download_file(
147147 id : str ,
148148 name : str = "" ,
149149 directory : str = "./" ,
150- skip : bool = True
150+ skip : bool = True ,
151151 # For now, skip does nothing
152152 ):
153153 # If it exists and skip is true, do not download
Original file line number Diff line number Diff line change 11"""
22This script imports COCO formated annotations into DataTorch
33"""
4+
45import numpy as np
56
67from pycocotools .coco import COCO
You can’t perform that action at this time.
0 commit comments