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

Add raise/raiseload relationship loading strategy #193

Closed
wants to merge 1 commit into from

Conversation

ThiefMaster
Copy link
Contributor


I've also added docs and a changelog entry. Not sure if 1.0.9 is the proper version for it, but since it's a minor feature which does not touch any existing functionality it seems like a safe thing to add in a minor version.

@zzzeek
Copy link
Owner

zzzeek commented Aug 11, 2015

tests huh? this is serious ! :) nice job. let me add a BB issue to get this in.

@zzzeek
Copy link
Owner

zzzeek commented Aug 11, 2015

- available via `lazy='raise'` or by setting the `raiseload` strategy
  via `options()`
- behaves almost like `lazy='noload'`, but instead of returning `None`
  it raises `InvalidRequestError`
- based on code from Mike Bayer that was posted to the sqlalchemy
  mailing list: https://groups.google.com/forum/#!topic/sqlalchemy/X_wA8K97smE
@zzzeek
Copy link
Owner

zzzeek commented Apr 12, 2016

Dear contributor -

This pull request is being moved to Gerrit, at https://gerrit.sqlalchemy.org/35, where it may be tested and reviewed more closely. As such, the pull request itself is being marked "closed" or "declined", however your contribution is merely being moved to our central review system. Please register at https://gerrit.sqlalchemy.org#/register/ to send and receive comments regarding this item.

@zzzeek zzzeek closed this Apr 12, 2016
zzzeek added a commit that referenced this pull request Apr 19, 2016
Fixes: #3512
Co-Authored-By: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: Ibd126c50eda621e2f4120ee378f7313af2d7ec3c
Pull-request: #193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants