docstr: Returns the sub flow's optional arguments merged with those passed
  as params in kwargs.
docstr_tok: ["Returns","the","sub","flow","'s","optional","arguments","merged","with","those","passed","as","params","in","kwargs","."]
code: def get_optionals(self, flow, **kwargs):
      """Returns the sub flow's optional arguments merged with those passed
      as params in kwargs.
      """
      opts = self._optionals[flow.__name__]
      opts.update(kwargs)
  
      return opts
  
file_path: dipy/dipy/workflows/combined_workflow.py
imports: from dipy.workflows.workflow import Workflow
label_desc: Use image node_id 5 for calling the CombinedWorkflow obj's underlying member method code with example usage: obj.get_optionals(flow) and returns: opts