@@ -312,15 +312,15 @@ class _PrepareDerivativeInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
312
312
desc = 'a list entities that will not be propagated from the source file' ,
313
313
)
314
314
in_file = InputMultiObject (File (exists = True ), mandatory = True , desc = 'the object to be saved' )
315
- meta_dict = traits .DictStrAny ( desc = 'an input dictionary containing metadata' )
315
+ meta_dict = traits .Dict ( Str , desc = 'an input dictionary containing metadata' )
316
316
source_file = InputMultiObject (
317
317
File (exists = False ), mandatory = True , desc = 'the source file(s) to extract entities from'
318
318
)
319
319
320
320
321
321
class _PrepareDerivativeOutputSpec (TraitedSpec ):
322
322
out_file = OutputMultiObject (File (exists = True ), desc = 'derivative file path' )
323
- out_meta = traits .DictStrAny ( desc = 'derivative metadata' )
323
+ out_meta = traits .Dict ( Str , desc = 'derivative metadata' )
324
324
out_path = OutputMultiObject (Str , desc = 'relative path in target directory' )
325
325
fixed_hdr = traits .List (traits .Bool , desc = 'whether derivative header was fixed' )
326
326
@@ -733,7 +733,7 @@ class _SaveDerivativeInputSpec(TraitedSpec):
733
733
exists = True , mandatory = True , desc = 'Path to the base directory for storing data.'
734
734
)
735
735
in_file = InputMultiObject (File (exists = True ), mandatory = True , desc = 'the object to be saved' )
736
- metadata = traits .DictStrAny ( desc = 'metadata to be saved alongside the file' )
736
+ metadata = traits .Dict ( Str , desc = 'metadata to be saved alongside the file' )
737
737
relative_path = InputMultiObject (
738
738
traits .Str , desc = 'path to the file relative to the base directory'
739
739
)
@@ -802,7 +802,7 @@ class _DerivativesDataSinkInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
802
802
desc = 'a list entities that will not be propagated from the source file' ,
803
803
)
804
804
in_file = InputMultiObject (File (exists = True ), mandatory = True , desc = 'the object to be saved' )
805
- meta_dict = traits .DictStrAny ( desc = 'an input dictionary containing metadata' )
805
+ meta_dict = traits .Dict ( Str , desc = 'an input dictionary containing metadata' )
806
806
source_file = InputMultiObject (
807
807
File (exists = False ), mandatory = True , desc = 'the source file(s) to extract entities from'
808
808
)
0 commit comments