Trees | Indices | Help |
|
---|
|
object --+ | _Attribute
A small utility class to automate and regularize handling of attributes.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Arguments name (str) Attribute name description (str) A description of the attribute appropriate for inclusion in the class docstring. datatype (str) An indication of the data type, also for inclusion in the class docstring. units (str) The units of the attribute; included in the docstring. init (function) A function returning the initial value for the attribute. This must be a function so that things like empty lists and dictionaries aren't shared across multiple instances of JaguarOutputs. comparison (object) The type of comparison to use for this attribute. If None, no comparison will be made. precision (str) The name of the class attribute to use for the precision value in _LIST_PRECISION or _FLOAT_PRECISION comparisons. renamed_from (str) If a name is provided, an "alias" property will be set up to ensure that a renamed attribute will still be available under the old name.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon May 19 23:05:19 2014 | http://epydoc.sourceforge.net |