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

fix issue 85 "TransactionBase.changed_entities fails without TransactionChanges plugin" #268

Merged
merged 3 commits into from
Feb 11, 2022

Conversation

TomGoBravo
Copy link
Contributor

add test that reproduces issue 85 "TransactionBase.changed_entities fails without TransactionChanges plugin" and fix that has Transaction.entity_names raise a NoChangesColumn instead of AttributeError.

…ails without TransactionChanges plugin" and fix that has Transaction.entity_names raise a NoChangesColumn instead of AttributeError.
@marksteward
Copy link
Collaborator

marksteward commented Feb 7, 2022

Thanks for this! It looks like test_transaction_changed_entities is now failing.

I've never used the plugin, but it looks like changes is a relationship, not a column. Is hasattr more appropriate?

…ansaction_changes.py and tests/inheritance/test_single_table_inheritance.py
@marksteward
Copy link
Collaborator

Sorry to be fussy, but could you rename NoChangesColumn to NoChangesAttribute? Otherwise looks great!

@TomGoBravo
Copy link
Contributor Author

Sorry to be fussy, but could you rename NoChangesColumn to NoChangesAttribute? Otherwise looks great!

Done. Thank you for helping me keep the code to a high standard.

@marksteward marksteward merged commit f1b0faa into kvesteri:master Feb 11, 2022
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.

2 participants