diff --git a/fileformats/core/mock.py b/fileformats/core/mock.py index e6c5a031..0888fc22 100644 --- a/fileformats/core/mock.py +++ b/fileformats/core/mock.py @@ -16,6 +16,8 @@ class MockMixin: """Strips out validation methods of a class, allowing it to be mocked in a way that still satisfies type-checking""" + _load_kwargs: ty.Dict[str, ty.Any] + def __init__( self, fspaths: FspathsInputType, @@ -23,6 +25,7 @@ def __init__( ): self.fspaths = fspaths_converter(fspaths) self._metadata = metadata + self._load_kwargs = {} @classproperty # type: ignore[arg-type] def type_name(cls) -> str: