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

call make_transient on instance during rehydration if adding fails #41

Closed
wants to merge 2 commits into from

Commits on Sep 17, 2020

  1. Update fixtures.py

    I'm getting this exception https://github.com/sqlalchemy/sqlalchemy/blob/rel_1_3_19/lib/sqlalchemy/orm/session.py#L2343 in some of my tests where a record is accessed and then deleted. Per the upstream recommendation, this captures that exception and tries calling `make_transient` instead.
    
    All other errors are (re-)thrown
    c0state authored Sep 17, 2020
    Configuration menu
    Copy the full SHA
    b7e4992 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2020

  1. Update pytest_flask_sqlalchemy/fixtures.py

    Co-authored-by: Jean Cochrane <jeancochrane@users.noreply.github.com>
    c0state and jeancochrane authored Dec 13, 2020
    Configuration menu
    Copy the full SHA
    ce8df89 View commit details
    Browse the repository at this point in the history