Skip to content

Commit

Permalink
re-named default_factory to default
Browse files Browse the repository at this point in the history
  • Loading branch information
rasswanth-s committed Mar 12, 2024
1 parent a08616e commit 4178cf4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/syft/src/syft/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,15 +337,11 @@ class VeilidConnection(NodeConnection):
__canonical_name__ = "VeilidConnection"
__version__ = SYFT_OBJECT_VERSION_1

vld_forward_proxy: GridURL = Field(
default_factory=GridURL.from_url(VEILID_SERVICE_URL)
)
vld_reverse_proxy: GridURL = Field(
default_factory=GridURL.from_url(VEILID_SYFT_PROXY_URL)
)
vld_forward_proxy: GridURL = Field(default=GridURL.from_url(VEILID_SERVICE_URL))
vld_reverse_proxy: GridURL = Field(default=GridURL.from_url(VEILID_SYFT_PROXY_URL))
dht_key: str
proxy_target_uid: UID | None = None
routes: type[Routes] = Field(default_factory=Routes)
routes: type[Routes] = Field(default=Routes)
session_cache: Session | None = None

@field_validator("vld_forward_proxy", mode="before")
Expand Down

0 comments on commit 4178cf4

Please sign in to comment.