Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVerelst committed Dec 2, 2024
1 parent fabe66c commit 5caa426
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/openeo_gfmap/manager/job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,14 +343,10 @@ def _update_statuses(self, df: pd.DataFrame):
.get("value", None)
)
df.loc[idx, "cpu"] = (
job_metadata["usage"]
.get("cpu", {})
.get("value", None)
job_metadata["usage"].get("cpu", {}).get("value", None)
)
df.loc[idx, "duration"] = (
job_metadata["usage"]
.get("duration", {})
.get("value", None)
job_metadata["usage"].get("duration", {}).get("value", None)
)

else:
Expand Down

0 comments on commit 5caa426

Please sign in to comment.