Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaihui committed Jan 9, 2024
1 parent 3061d7a commit db56c5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions fed/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions fed/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit db56c5a

Please sign in to comment.