linotp.lib.audit.iterator module

the iterators for the audit objects

class linotp.lib.audit.iterator.AuditQuery(param, audit, user=None, columns=None)[source]

Bases: object

build the the audit query and return result iterator

get_entry(row)[source]
get_headers()[source]
get_page()[source]
get_query_result()[source]
get_total()[source]
with_headers()[source]
class linotp.lib.audit.iterator.CSVAuditIterator(audit_query, delimiter)[source]

Bases: object

create cvs output by iterating over result

next()[source]

iterator callback for the response handler

class linotp.lib.audit.iterator.JSONAuditIterator(audit_query)[source]

Bases: object

default audit output generator in json format

next()[source]

iterator callback for the response handler