Skip to content

Conversation

@wakemaster39
Copy link

Reworked location of some function calls to support multple purposes
Added migration calls to be manually added into alembic migrations

Reworked location of some function calls to support multple purposes
Added migration calls to be manually added into alembic migrations
"""
for cls in self.pending_classes:
self.audit_table(cls.__table__, cls.__versioned__.get('exclude'))
assign_actor(self.base, self.transaction_cls, self.actor_cls)
Copy link

@jpollard-cs jpollard-cs Jul 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this assign_actor call redundant or does this listener overwrite the one from the base after_configured method?

@gmassman
Copy link

Here's a forked and modified version of this package for anyone that needs alembic/flask-sqlalchemy integration.

https://github.com/gmassman/flask-audit-logger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants