@@ -312,15 +312,15 @@ class _PrepareDerivativeInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
312312 desc = 'a list entities that will not be propagated from the source file' ,
313313 )
314314 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' )
316316 source_file = InputMultiObject (
317317 File (exists = False ), mandatory = True , desc = 'the source file(s) to extract entities from'
318318 )
319319
320320
321321class _PrepareDerivativeOutputSpec (TraitedSpec ):
322322 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' )
324324 out_path = OutputMultiObject (Str , desc = 'relative path in target directory' )
325325 fixed_hdr = traits .List (traits .Bool , desc = 'whether derivative header was fixed' )
326326
@@ -733,7 +733,7 @@ class _SaveDerivativeInputSpec(TraitedSpec):
733733 exists = True , mandatory = True , desc = 'Path to the base directory for storing data.'
734734 )
735735 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' )
737737 relative_path = InputMultiObject (
738738 traits .Str , desc = 'path to the file relative to the base directory'
739739 )
@@ -802,7 +802,7 @@ class _DerivativesDataSinkInputSpec(DynamicTraitedSpec, BaseInterfaceInputSpec):
802802 desc = 'a list entities that will not be propagated from the source file' ,
803803 )
804804 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' )
806806 source_file = InputMultiObject (
807807 File (exists = False ), mandatory = True , desc = 'the source file(s) to extract entities from'
808808 )
0 commit comments