Package topo :: Package command :: Module basic :: Class Command
[hide private]
[frames] | no frames]

Class Command

source code


Parameterized command: any error when the command is run (called) will not raise an exception, but will instead generate a warning.
Nested Classes [hide private]
  __metaclass__
A class having this as a metaclass will have its __call__() method automatically wrapped so that any exception occurring inside __call__() will be passed to the class's _except() method.
Instance Methods [hide private]
 
__call__(self, *args, **kw) source code
 
_except(self, e) source code

Inherited from param.parameterized.ParameterizedFunction: __reduce__, __str__, script_repr

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from param.parameterized.ParameterizedFunction: instance

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Static Methods [hide private]

Inherited from param.parameterized.ParameterizedFunction: __new__

Class Variables [hide private]
  __abstract = True
bool(x) -> bool
  name = <param.parameterized.String object at 0xacbb4ac>
String identifier for this object.

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, *args, **kw)
(Call operator)

source code 
Overrides: param.parameterized.ParameterizedFunction.__call__

Class Variable Details [hide private]

__abstract

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

Value:
True