File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
nc_py_api/ex_app/providers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ class TaskProcessingProvider:
8282 """The TaskType provided by this provider."""
8383 expected_runtime : int = dataclasses .field (default = 0 )
8484 """Expected runtime of the task in seconds."""
85- optional_input_shape : list [ ShapeDescriptor ] = dataclasses .field (default_factory = list )
85+ optional_input_shape : dict [ str , ShapeDescriptor ] = dataclasses .field (default_factory = dict )
8686 """Optional input shape of the task."""
87- optional_output_shape : list [ ShapeDescriptor ] = dataclasses .field (default_factory = list )
87+ optional_output_shape : dict [ str , ShapeDescriptor ] = dataclasses .field (default_factory = dict )
8888 """Optional output shape of the task."""
8989 input_shape_enum_values : dict [str , list [ShapeEnumValue ]] = dataclasses .field (default_factory = dict )
9090 """The option dict for each input shape ENUM slot."""
You can’t perform that action at this time.
0 commit comments