Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham3121 committed Jan 10, 2024
1 parent ebd6bff commit 8b4e313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/syft/src/syft/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1463,9 +1463,7 @@ def create_default_worker_pool(node: Node) -> Optional[SyftError]:
# Else add a worker to existing worker pool
add_worker_method = node.get_service_method(SyftWorkerPoolService.add_workers)
result = add_worker_method(
context=context,
number=worker_count,
pool_name=DEFAULT_WORKER_POOL_NAME
context=context, number=worker_count, pool_name=DEFAULT_WORKER_POOL_NAME
)

if isinstance(result, SyftError):
Expand Down
3 changes: 2 additions & 1 deletion packages/syft/src/syft/service/worker/worker_image_stash.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from result import Result

# relative
from ...custom_worker.config import DockerWorkerConfig, WorkerConfig
from ...custom_worker.config import DockerWorkerConfig
from ...custom_worker.config import WorkerConfig
from ...node.credentials import SyftVerifyKey
from ...serde.serializable import serializable
from ...store.document_store import BaseUIDStoreStash
Expand Down

0 comments on commit 8b4e313

Please sign in to comment.