From db56c5a5a42e3104e4249a8f69cd4b6f0b74f5b7 Mon Sep 17 00:00:00 2001 From: "albert.zah" Date: Tue, 9 Jan 2024 12:40:54 +0000 Subject: [PATCH] Fix lint. --- fed/api.py | 1 + fed/config.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fed/api.py b/fed/api.py index 9d7465f..a8d2cbf 100644 --- a/fed/api.py +++ b/fed/api.py @@ -488,6 +488,7 @@ def method(self, a): It can also be used with specific keyword arguments just same as ray options. """ + def _make_fed_remote(function_or_class, **options): if inspect.isfunction(function_or_class) or fed_utils.is_cython( function_or_class diff --git a/fed/config.py b/fed/config.py index e344dd3..a8799ee 100644 --- a/fed/config.py +++ b/fed/config.py @@ -107,13 +107,13 @@ class CrossSiloMessageConfig: timeout_in_ms: The timeout in mili-seconds of a cross-silo RPC call. It's 60000 by default. - http_header: + http_header: The HTTP header, e.g. metadata in grpc, sent with the RPC request. This won't override basic tcp headers, such as `user-agent`, but concat them together. - max_concurrency: + max_concurrency: the max_concurrency of the sender/receiver proxy actor. - use_global_proxy: + use_global_proxy: Whether using the global proxy actor or create new proxy actor for current job. """