Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword ListLoad NameLoad Assign NameStore Call NameLoad Call NameLoad keyword Num keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword IfExp NameLoad NameLoad NameLoad keyword IfExp NameLoad NameLoad NameLoad keyword IfExp NameLoad NameLoad NameLoad keyword Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A datetime datetime enum IntEnum sqlalchemy Column Integer String Text ForeignKey DateTime or_ desc sqlalchemy.exc IntegrityError sqlalchemy.orm relationship grouper.models.base.model_base Model grouper.plugin get_plugins AuditLogCategory N/A IntEnum N/A N/A Categories of entries in the audit_log. N/A general 1 N/A audit 2 N/A AuditLogFailure N/A Exception N/A N/A N/A AuditLog N/A Model N/A N/A 
    Logs actions taken in the system. This is a pretty simple logging framework to just
    let us track everything that happened. The main use case is to show users what has
    happened recently, to help them understand.
     N/A __tablename__ audit_log N/A id N/A Column Integer primary_key True N/A log_time N/A Column DateTime default N/A datetime utcnow nullable False N/A actor_id N/A Column Integer N/A ForeignKey users.id nullable False N/A actor N/A relationship User foreign_keys N/A actor_id N/A on_user_id N/A Column Integer N/A ForeignKey users.id nullable True N/A on_user N/A relationship User foreign_keys N/A on_user_id N/A on_group_id N/A Column Integer N/A ForeignKey groups.id nullable True N/A on_group N/A relationship Group foreign_keys N/A on_group_id N/A on_permission_id N/A Column Integer N/A ForeignKey permissions.id nullable True N/A on_permission N/A relationship Permission foreign_keys N/A on_permission_id N/A action N/A Column N/A String length 64 nullable False N/A description N/A Column Text nullable False N/A category N/A Column Integer nullable False default N/A AuditLogCategory general log N/A N/A session actor_id action description on_user_id on_group_id on_permission_id category N/A None None None N/A AuditLogCategory general N/A N/A 
        Log an event in the database.

        Args:
            session(Session): database session
            actor_id(int): actor
            action(str): unique string identifier for action taken
            description(str): description for action taken
            on_user_id(int): user affected, if any
            on_group_id(int): group affected, if any
            on_permission_id(int): permission affected, if any
            category(AuditLogCategory): category of log entry
         N/A entry N/A AuditLog actor_id actor_id log_time N/A N/A datetime utcnow action action description description on_user_id N/A on_user_id on_user_id None on_group_id N/A on_group_id on_group_id None on_permission_id N/A on_permission_id on_permission_id None category N/A int category N/A N/A N/A N/A N/A entry add session N/A N/A N/A session flush N/A N/A N/A IntegrityError N/A N/A N/A N/A session rollback N/A N/A AuditLogFailure N/A N/A N/A session commit N/A plugin N/A get_plugins N/A N/A N/A N/A plugin log_auditlog_entry entry N/A staticmethod get_entries N/A N/A session actor_id on_user_id on_group_id on_permission_id limit offset involve_user_id category action N/A None None None None None None None None None N/A N/A 
        Flexible method for getting log entries. By default it returns all entries
        starting at the newest. Most recent first.

        involve_user_id, if set, is (actor_id OR on_user_id).
         N/A results N/A N/A session query AuditLog N/A actor_id N/A N/A results N/A N/A results filter N/A N/A AuditLog actor_id actor_id N/A on_user_id N/A N/A results N/A N/A results filter N/A N/A AuditLog on_user_id on_user_id N/A on_group_id N/A N/A results N/A N/A results filter N/A N/A AuditLog on_group_id on_group_id N/A on_permission_id N/A N/A results N/A N/A results filter N/A N/A AuditLog on_permission_id on_permission_id N/A involve_user_id N/A N/A results N/A N/A results filter N/A or_ N/A N/A AuditLog on_user_id involve_user_id N/A N/A AuditLog actor_id involve_user_id N/A category N/A N/A results N/A N/A results filter N/A N/A AuditLog category N/A int category N/A action N/A N/A results N/A N/A results filter N/A N/A AuditLog action action N/A results N/A N/A results order_by N/A desc N/A AuditLog log_time N/A offset N/A N/A results N/A N/A results offset offset N/A limit N/A N/A results N/A N/A results limit limit N/A N/A N/A results all N/A staticmethod N/A