linotp.lib.audit.iterator module¶
the iterators for the audit objects
- class linotp.lib.audit.iterator.AuditQuery(param, audit_obj, user=None, columns=None)¶
Bases:
object
build the the audit query and return result iterator
- get_entry(row)¶
- get_headers()¶
- get_page()¶
- get_query_result()¶
- get_total()¶
- get_total_pages()¶
- with_headers()¶
- class linotp.lib.audit.iterator.CSVAuditIterator(audit_query, delimiter)¶
Bases:
object
create cvs output by iterating over result
- class linotp.lib.audit.iterator.JSONAuditIterator(audit_query)¶
Bases:
object
default audit output generator in json format