.param
namespace#
These methods and properties are available under the .param
namespace
of Parameterized
classes and instances.
|
Add a new Parameter object into this object's class. |
|
Print msg merged with args as a debugging statement. |
|
Return {parameter_name:parameter.default} for all non-constant Parameters. |
|
|
|
|
|
Force a new value to be generated for the dynamic attribute name, and return it. |
|
Return a list of name,value pairs for all Parameters of this object. |
|
Return the value or value-generating object of the named attribute. |
|
Return the current value of the named attribute without modifying it. |
|
Print msg merged with args as a message at the indicated logging level. |
|
Print msg merged with args as a message. |
|
Given the name of a method, returns a PInfo object for each dependency of this method. |
|
Returns the Parameters of this instance or class |
|
Returns a mapping between any declared outputs and a tuple of the declared Parameter type, the output method, and the index into the output if multiple outputs are returned. |
|
Return the Parameters of this class as the dictionary {name: parameter_object} |
|
Given the name of a method, returns a PInfo object for each dependency of this method. |
|
(Experimental) Pretty printed representation that may be evaluated with eval. |
Print the default values of all cls's Parameters. |
|
Print the values of all this object's Parameters. |
|
|
Returns a schema for the parameters on this Parameterized object. |
|
Set the default value of param_name. |
|
Set time_fn for all Dynamic Parameters of this class or instance object that are currently being dynamically generated. |
|
For each param=value keyword argument, sets the corresponding parameter of this object or class to the given value. |
|
|
|
|
|
Trigger watchers for the given set of parameter names. |
|
Remove the given Watcher object (from watch or watch_values) from this object's list. |
|
For the given dictionary or iterable or set of param=value keyword arguments, sets the corresponding parameter of this object or class to the given value. |
|
Return a dictionary of name,value pairs for the Parameters of this object. |
|
Print msg merged with args as a verbose message. |
|
Print msg merged with args as a warning, unless module variable warnings_as_exceptions is True, then raise an Exception containing the arguments. |
|
Register the given callback function fn to be invoked for events on the indicated parameters. |
|
Easier-to-use version of watch specific to watching for changes in parameter values. |
Dictionary of instance watchers. |