Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(clipper): fix ValueError exception with python>=3.11 from Clipper…
…State dataclass decorator * use default factory functions for mutable ClipperState dataclass fields * dataclass() decorator will raise a ValueError if it detects an unhashable default parameter (assumes unhashable => mutable) * Using default factory functions is a way to create new instances of mutable types as default values for fields:
- Loading branch information