Skip to content

Commit

Permalink
Freeze dataclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbenito committed Aug 31, 2023
1 parent 6f8cda9 commit 6b7d6f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pydvl/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__all__ = ["ParallelConfig", "MemcachedClientConfig", "MemcachedConfig"]


@dataclass
@dataclass(frozen=True)
class ParallelConfig:
"""Configuration for parallel computation backend.
Expand All @@ -34,7 +34,7 @@ def __post_init__(self) -> None:
raise ValueError("When `address` is set, `n_cpus_local` should be None.")


@dataclass
@dataclass(frozen=True)
class MemcachedClientConfig:
"""Configuration of the memcached client.
Expand Down

0 comments on commit 6b7d6f1

Please sign in to comment.