Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored for integration with alembic #46

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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