class_docstr: A set of magics useful when controlling a parallel IPython cluster.
code: def _eval_target_str(self, ts):
      if ":" in ts:
          targets = eval("self.view.client.ids[%s]" % ts)
      elif "all" in ts:
          targets = "all"
      else:
          targets = eval(ts)
      return targets
  
imports: import time
  from contextlib import contextmanager
  import inspect
  import re
  import sys
  from textwrap import dedent
  from IPython.core import magic_arguments
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, no_var_expand
  import ipyparallel
  from ..None import error
label_desc: Use image node_id 2 for calling the ParallelMagics obj's underlying member method code with example usage: obj._eval_target_str(ts) and returns: targets