Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dataclasses.replace calls in DefaultRetryStrategy
This commit further addresses issue #111 by updating additional `dataclasses.replace` calls to `call_args.model_copy(update={...})` in the `spice/models.py` file. This change is necessary because `SpiceCallArgs` has been converted from a dataclass to a Pydantic model. The updates ensure that the model copying mechanism is consistent across the codebase. Additionally, the unnecessary import of `dataclasses` has been removed from `default_strategy.py`.
- Loading branch information