Skip to content

Commit

Permalink
Codechecks
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Hellander committed Dec 9, 2023
1 parent 1d9941c commit f83be3f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion fedn/fedn/dashboard/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from datetime import datetime

import numpy
import pandas as pd
import plotly
import plotly.graph_objs as go
from plotly.subplots import make_subplots
Expand Down
4 changes: 0 additions & 4 deletions fedn/fedn/dashboard/restservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
import datetime
import json
import os
import re
import threading
from io import BytesIO
from threading import Lock

import jwt
import pandas as pd
from bokeh.embed import json_item
from bson import json_util
from flask import (Flask, abort, flash, jsonify, make_response, redirect,
render_template, request, send_file, send_from_directory,
Expand Down Expand Up @@ -555,7 +552,6 @@ def control():
for combiner in self.control.network.get_combiners():
try:
nac = len(combiner.list_active_clients())
#nac = combiner_state["nr_active_clients"]
clients_available = clients_available + int(nac)
except Exception:
raise
Expand Down
2 changes: 1 addition & 1 deletion fedn/fedn/tests/test_reducer_service.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
from unittest.mock import patch

from fedn.network.dashboard.restservice import ReducerRestService
from fedn.dashboard.restservice import ReducerRestService


class TestInit(unittest.TestCase):
Expand Down

0 comments on commit f83be3f

Please sign in to comment.