class_docstr: A set of magics useful when controlling a parallel IPython cluster.
docstr: configure default targets/blocking for %px magics
docstr_tok: ["configure","default","targets\/blocking","for","%","px","magics"]
code: def pxconfig(self, line):
      """configure default targets/blocking for %px magics"""
      args = magic_arguments.parse_argstring(self.pxconfig, line)
      if args.targets:
          self.view.targets = self._eval_target_str(args.targets)
      if args.block is not None:
          self.view.block = args.block
      if args.set_verbose is not None:
          self.verbose = args.set_verbose
      if args.stream is not None:
          self.stream_output = args.stream
      if args.signal_on_interrupt is not None:
          self.signal_on_interrupt = self._eval_signal_str(
              args.signal_on_interrupt
          )
  
      if args.progress_after_seconds is not None:
          self.progress_after_seconds = args.progress_after_seconds
  
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 4 for calling the ParallelMagics obj's underlying member method code with example usage: obj.pxconfig(line) without return types