Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 3, 2023
1 parent 6697e9e commit 0004422
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/kernels/fps_kernels/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ async def get_status(
):
started = self._app.started_time().isoformat().replace("+00:00", "Z")
last_activity = self._app.last_activity().isoformat().replace("+00:00", "Z")
connections = sum([kernel["server"].connections for kernel in kernels.values() if "server" in kernel])
connections = sum(
[kernel["server"].connections for kernel in kernels.values() if "server" in kernel]
)
return {
"started": started,
"last_activity": last_activity,
Expand Down

0 comments on commit 0004422

Please sign in to comment.