Skip to content

Commit

Permalink
Minor typing improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang committed Nov 27, 2023
1 parent 4b64f5f commit 02d523f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/syft/src/syft/custom_worker/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# stdlib
from hashlib import sha256
from pathlib import Path
from typing import Any
from typing import Dict
from typing import List
from typing import Union

Expand Down Expand Up @@ -77,7 +79,7 @@ class CustomWorkerConfig(SyftBaseModel):
version: str = "1"

@classmethod
def from_dict(cls, config: dict) -> Self:
def from_dict(cls, config: Dict[str, Any]) -> Self:
return cls(**config)

@classmethod
Expand Down

0 comments on commit 02d523f

Please sign in to comment.