From 0902ce89a17ae2798c530d28647db721fef25afb Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 17 Dec 2024 21:55:15 -0500 Subject: [PATCH] fix: Drop deprecated TraitDictAnys --- sdcflows/interfaces/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdcflows/interfaces/utils.py b/sdcflows/interfaces/utils.py index 6696c786d7..a50873737e 100644 --- a/sdcflows/interfaces/utils.py +++ b/sdcflows/interfaces/utils.py @@ -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", ) @@ -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):