Class PythonColumnHandler
source code
object --+
|
PythonColumnHandler
A column handler accepts row context (like a device, component, or
extra information) and returns the column value. This class specifically
executes a python expression that can use the row context.
The row context includes the device object ('device') and, if
available, the component object ('component'). It also includes report
information such as the start date ('start') and end date ('end') of the
report.
|
|
|
__call__(self,
device,
component=None,
extra=None,
value=None) |
source code
|
|
__init__(self,
talesExpression,
extraContext={})
(Constructor)
| source code
|
- Parameters:
talesExpression - A python expression that can use the context
- Overrides:
object.__init__
|