Skip to content

Commit 7c063ba

Browse files
author
Michael Nguyen
committed
linted with black
1 parent 8537895 commit 7c063ba

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

datatorch/agent/pipelines/step/step.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

datatorch/api/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

examples/import-coco.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This script imports COCO formated annotations into DataTorch
33
"""
4+
45
import numpy as np
56

67
from pycocotools.coco import COCO

0 commit comments

Comments
 (0)