Skip to content

Commit 1aa60ea

Browse files
authored
Merge pull request #98 from ArcanaFramework/pydra-syntax-changes
added _load_kwargs to mock mixin
2 parents ec2a99a + aeb9a20 commit 1aa60ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fileformats/core/mock.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ class MockMixin:
1616
"""Strips out validation methods of a class, allowing it to be mocked in a way that
1717
still satisfies type-checking"""
1818

19+
_load_kwargs: ty.Dict[str, ty.Any]
20+
1921
def __init__(
2022
self,
2123
fspaths: FspathsInputType,
2224
metadata: ty.Union[ty.Dict[str, ty.Any], bool, None] = False,
2325
):
2426
self.fspaths = fspaths_converter(fspaths)
2527
self._metadata = metadata
28+
self._load_kwargs = {}
2629

2730
@classproperty # type: ignore[arg-type]
2831
def type_name(cls) -> str:

0 commit comments

Comments
 (0)