From 43417c89d75cbedcaaaef14eb5bc4afb806b2c08 Mon Sep 17 00:00:00 2001 From: Heng Pan Date: Thu, 22 Aug 2024 09:55:52 +0100 Subject: [PATCH] update copyright --- src/py/flwr/client/connection/grpc_adapter/connection.py | 4 ++-- src/py/flwr/client/connection/grpc_bidi/__init__.py | 2 +- src/py/flwr/client/connection/grpc_bidi/connection.py | 2 +- src/py/flwr/client/connection/grpc_bidi/connection_test.py | 2 +- src/py/flwr/client/connection/grpc_rere/__init__.py | 2 +- .../client/connection/grpc_rere/client_interceptor_test.py | 2 +- src/py/flwr/client/connection/grpc_rere/connection.py | 2 +- src/py/flwr/client/connection/rest/__init__.py | 2 +- src/py/flwr/client/connection/rest/connection.py | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/py/flwr/client/connection/grpc_adapter/connection.py b/src/py/flwr/client/connection/grpc_adapter/connection.py index 9b84545eacdb..32f2800d8df7 100644 --- a/src/py/flwr/client/connection/grpc_adapter/connection.py +++ b/src/py/flwr/client/connection/grpc_adapter/connection.py @@ -22,8 +22,8 @@ from cryptography.hazmat.primitives.asymmetric import ec -from flwr.client.grpc_rere_client.connection import grpc_request_response -from flwr.client.grpc_rere_client.grpc_adapter import GrpcAdapter +from flwr.client.connection.grpc_rere.connection import grpc_request_response +from flwr.client.connection.grpc_rere.grpc_adapter import GrpcAdapter from flwr.common import GRPC_MAX_MESSAGE_LENGTH from flwr.common.logger import log from flwr.common.message import Message diff --git a/src/py/flwr/client/connection/grpc_bidi/__init__.py b/src/py/flwr/client/connection/grpc_bidi/__init__.py index 9e987e86b254..8682a807c35d 100644 --- a/src/py/flwr/client/connection/grpc_bidi/__init__.py +++ b/src/py/flwr/client/connection/grpc_bidi/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2020 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/src/py/flwr/client/connection/grpc_bidi/connection.py b/src/py/flwr/client/connection/grpc_bidi/connection.py index 29479cf5479d..cc2e1eec1347 100644 --- a/src/py/flwr/client/connection/grpc_bidi/connection.py +++ b/src/py/flwr/client/connection/grpc_bidi/connection.py @@ -1,4 +1,4 @@ -# Copyright 2020 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/src/py/flwr/client/connection/grpc_bidi/connection_test.py b/src/py/flwr/client/connection/grpc_bidi/connection_test.py index 13bd2c6af8e7..1505cd861296 100644 --- a/src/py/flwr/client/connection/grpc_bidi/connection_test.py +++ b/src/py/flwr/client/connection/grpc_bidi/connection_test.py @@ -1,4 +1,4 @@ -# Copyright 2020 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/src/py/flwr/client/connection/grpc_rere/__init__.py b/src/py/flwr/client/connection/grpc_rere/__init__.py index e7c9408c0047..812d19798bf0 100644 --- a/src/py/flwr/client/connection/grpc_rere/__init__.py +++ b/src/py/flwr/client/connection/grpc_rere/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/src/py/flwr/client/connection/grpc_rere/client_interceptor_test.py b/src/py/flwr/client/connection/grpc_rere/client_interceptor_test.py index a029b926423f..73ad46a7fac8 100644 --- a/src/py/flwr/client/connection/grpc_rere/client_interceptor_test.py +++ b/src/py/flwr/client/connection/grpc_rere/client_interceptor_test.py @@ -26,7 +26,6 @@ import grpc -from flwr.client.grpc_rere_client.connection import grpc_request_response from flwr.common import GRPC_MAX_MESSAGE_LENGTH, serde from flwr.common.logger import log from flwr.common.message import Message, Metadata @@ -54,6 +53,7 @@ from flwr.proto.task_pb2 import Task, TaskIns # pylint: disable=E0611 from .client_interceptor import _AUTH_TOKEN_HEADER, _PUBLIC_KEY_HEADER, Request +from .connection import grpc_request_response class _MockServicer: diff --git a/src/py/flwr/client/connection/grpc_rere/connection.py b/src/py/flwr/client/connection/grpc_rere/connection.py index b4fa28373600..d115d7a0f21c 100644 --- a/src/py/flwr/client/connection/grpc_rere/connection.py +++ b/src/py/flwr/client/connection/grpc_rere/connection.py @@ -1,4 +1,4 @@ -# Copyright 2023 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/src/py/flwr/client/connection/rest/__init__.py b/src/py/flwr/client/connection/rest/__init__.py index a24d822a6d75..175d02432714 100644 --- a/src/py/flwr/client/connection/rest/__init__.py +++ b/src/py/flwr/client/connection/rest/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2023 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/src/py/flwr/client/connection/rest/connection.py b/src/py/flwr/client/connection/rest/connection.py index 485bbd7a1810..aa0ea4d4f50a 100644 --- a/src/py/flwr/client/connection/rest/connection.py +++ b/src/py/flwr/client/connection/rest/connection.py @@ -1,4 +1,4 @@ -# Copyright 2023 Flower Labs GmbH. All Rights Reserved. +# Copyright 2024 Flower Labs GmbH. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.