Skip to content

Commit 51e1168

Browse files
committed
Update errors module from #288
1 parent 14e2fb7 commit 51e1168

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hermes/model/errors.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
import typing as t
88

9-
from hermes.model import path as path_model
10-
119

1210
class HermesValidationError(Exception):
1311
"""
@@ -30,7 +28,7 @@ class MergeError(Exception):
3028
"""
3129
This exception should be raised when there is an error during a merge / set operation.
3230
"""
33-
def __init__(self, path: path_model.ContextPath, old_Value: t.Any, new_value: t.Any, **kwargs):
31+
def __init__(self, path: t.List[str | int], old_Value: t.Any, new_value: t.Any, **kwargs):
3432
"""
3533
Create a new merge incident.
3634

0 commit comments

Comments
 (0)