Skip to content

Commit

Permalink
fix: Drop deprecated TraitDictAnys
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 18, 2024
1 parent 1c68149 commit 0902ce8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdcflows/interfaces/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _FlattenInputSpec(BaseInterfaceInputSpec):
desc="list of input data",
)
in_meta = InputMultiObject(
traits.DictStrAny,
traits.Dict(traits.Str),
mandatory=True,
desc="list of metadata",
)
Expand All @@ -61,12 +61,12 @@ class _FlattenOutputSpec(TraitedSpec):
out_list = OutputMultiObject(
traits.Tuple(
File(exists=True),
traits.DictStrAny,
traits.Dict(traits.Str),
),
desc="list of output files",
)
out_data = OutputMultiObject(File(exists=True))
out_meta = OutputMultiObject(traits.DictStrAny)
out_meta = OutputMultiObject(traits.Dict(traits.Str))


class Flatten(SimpleInterface):
Expand Down

0 comments on commit 0902ce8

Please sign in to comment.