We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
def _wrap_with_default_query_class(fn, cls): @functools.wraps(fn) def newfn(*args, **kwargs): _set_default_query_class(kwargs, cls) if "backref" in kwargs: backref = kwargs['backref'] if isinstance(backref, string_types): backref = (backref, {}) _set_default_query_class(backref[1], cls) return fn(*args, **kwargs) return newfn
In the code above backref is extracted from kwargs, modified if it's a string type, but the modifications are never reintroduced to kwargs.
backref
kwargs
The text was updated successfully, but these errors were encountered:
fixed in #1087
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
In the code above
backref
is extracted fromkwargs
, modified if it's a string type, but the modifications are never reintroduced tokwargs
.The text was updated successfully, but these errors were encountered: