Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes committed Feb 23, 2024
1 parent fa15c5f commit 8b9c854
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions src/py/flwr/client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from flwr.client.client import Client
from flwr.client.clientapp import ClientApp
from flwr.client.typing import ClientFn
from flwr.common import GRPC_MAX_MESSAGE_LENGTH, EventType, Message, event
from flwr.common import GRPC_MAX_MESSAGE_LENGTH, EventType, Message, RecordSet, event
from flwr.common.address import parse_address
from flwr.common.constant import (
MISSING_EXTRA_REST,
Expand All @@ -35,13 +35,8 @@
TRANSPORT_TYPES,
)
from flwr.common.logger import log, warn_deprecated_feature, warn_experimental_feature


from flwr.common.message import Message
from flwr.common.recordset import RecordSet
from flwr.common.serde import message_to_taskres


from .clientapp import load_client_app
from .grpc_client.connection import grpc_connection
from .grpc_rere_client.connection import grpc_request_response
Expand Down
2 changes: 0 additions & 2 deletions src/py/flwr/server/compat/driver_client_proxy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
)
from flwr.server.compat.driver_client_proxy import DriverClientProxy, validate_task_res

from .driver_client_proxy import DriverClientProxy

MESSAGE_PARAMETERS = Parameters(tensors=[b"abc"], tensor_type="np")

CLIENT_PROPERTIES = cast(Properties, {"tensor_type": "numpy.ndarray"})
Expand Down

0 comments on commit 8b9c854

Please sign in to comment.