(self, options)
Configure Observables with an options dict.

    Args:
      options: A dict of dicts of configuration options keyed on
        observable names, or a dict of configuration options, which will
        propagate those options to all observables.
Configure Observables with an options dict.
Configure Observables with an options dict .
def set_options(self, options):
    """Configure Observables with an options dict.

    Args:
      options: A dict of dicts of configuration options keyed on
        observable names, or a dict of configuration options, which will
        propagate those options to all observables.
    """
    if options is None:
      options = {}
    elif options.keys() and set(options.keys()).issubset(_OPTION_KEYS):
      options = dict([(key, options) for key in self._observables.keys()])

    for obs_key, obs_options in options.items():
      try:
        obs = self._observables[obs_key]
      except KeyError:
        raise KeyError('No observable with name {!r}'.format(obs_key))
      obs.configure(**obs_options)
def set_options ( self , options ) : if options is None : options = { } elif options . keys ( ) and set ( options . keys ( ) ) . issubset ( _OPTION_KEYS ) : options = dict ( [ ( key , options ) for key in self . _observables . keys ( ) ] ) for obs_key , obs_options in options . items ( ) : try : obs = self . _observables [ obs_key ] except KeyError : raise KeyError ( 'No observable with name {!r}' . format ( obs_key ) ) obs . configure ( * * obs_options )