diff --git a/src/syrupy/extensions/json/__init__.py b/src/syrupy/extensions/json/__init__.py index 757ea181..2e6a0923 100644 --- a/src/syrupy/extensions/json/__init__.py +++ b/src/syrupy/extensions/json/__init__.py @@ -54,9 +54,9 @@ def _filter( data: "SerializableData", *, depth: int = 0, - path: PropertyPath, + path: "PropertyPath", exclude: Optional["PropertyFilter"] = None, - matcher: Optional[PropertyMatcher] = None, + matcher: Optional["PropertyMatcher"] = None, visited: Optional[Set[Any]] = None, ) -> "SerializableData": data_id = id(data)