Home | Trees | Indices | Help |
|
---|
|
object --+ | S3ReportRepresent
Method to represent the contributing records in a pivot table cell (cell explore) The cell-explore record list will typically look like: - <record representation>: <fact value(s)> - ... This method controls the first part of each entry. For customization, configure for the table as: report_represent = <subclass>
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
Constructor, initializes the method with the report context to allow it to adapt the representation (e.g. it may often be desirable to not repeat the report axes in the record list)
|
Represent record IDs, can be overloaded in subclasses @param record_ids: list of record IDs @returns: a JSON-serializable dict {recordID: representation}, or None to suppress recordID representation in the cell explorer NB default behavior is not sensitive for report axes |
Return a representation method for the id-field of self.resource, can be overloaded in subclasses (simpler than implementing __call__ if producing a representation method is sufficient)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 08:51:50 2019 | http://epydoc.sourceforge.net |