Skip to content

Commit

Permalink
update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
panh99 committed Sep 19, 2024
1 parent 8b81bd2 commit 470ee10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/py/flwr/server/run_serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
from flwr.common.logger import log, update_console_handler, warn_deprecated_feature
from flwr.common.object_ref import load_app
from flwr.common.typing import UserConfig
from flwr.proto.driver_pb2 import ( # pylint: disable=E0611
from flwr.proto.fab_pb2 import GetFabRequest, GetFabResponse # pylint: disable=E0611
from flwr.proto.run_pb2 import ( # pylint: disable=E0611
CreateRunRequest,
CreateRunResponse,
)
from flwr.proto.fab_pb2 import GetFabRequest, GetFabResponse # pylint: disable=E0611

from .driver import Driver
from .driver.grpc_driver import GrpcDriver
Expand Down
4 changes: 2 additions & 2 deletions src/py/flwr/server/superlink/driver/driver_servicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
from flwr.common.typing import Fab
from flwr.proto import driver_pb2_grpc # pylint: disable=E0611
from flwr.proto.driver_pb2 import ( # pylint: disable=E0611
CreateRunRequest,
CreateRunResponse,
GetNodesRequest,
GetNodesResponse,
PullTaskResRequest,
Expand All @@ -44,6 +42,8 @@
from flwr.proto.fab_pb2 import GetFabRequest, GetFabResponse # pylint: disable=E0611
from flwr.proto.node_pb2 import Node # pylint: disable=E0611
from flwr.proto.run_pb2 import ( # pylint: disable=E0611
CreateRunRequest,
CreateRunResponse,
GetRunRequest,
GetRunResponse,
Run,
Expand Down
2 changes: 1 addition & 1 deletion src/py/flwr/superexec/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
from flwr.common.logger import log
from flwr.common.serde import fab_to_proto, user_config_to_proto
from flwr.common.typing import Fab, UserConfig
from flwr.proto.driver_pb2 import CreateRunRequest # pylint: disable=E0611
from flwr.proto.driver_pb2_grpc import DriverStub
from flwr.proto.run_pb2 import CreateRunRequest # pylint: disable=E0611

from .executor import Executor, RunTracker

Expand Down

0 comments on commit 470ee10

Please sign in to comment.