-
Notifications
You must be signed in to change notification settings - Fork 172
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
count on union crashes #1669
Comments
Would you be able to use markdown to make your code more readable by using triple backticks? Also, what version of SQLAlchemy and the oso libraries are you using? That'll make it easier for others to assist you. Personally, as a contributor not a member of the Oso team, I wouldn't review this as formatted and without additional context (which I may have missed). Thanks for your time and the bug report. |
Sorry about that. I was using Jira syntax instead of markdown. I've submitted a pull request for the fix, so hopefully it doesn't take much effort to evaluate. |
On the head of
main
.With a simplified query like:
The sqlalchemy_utils.py module raises an error trying to dereference a nonexistent 'entity' property:
I have attached a project that demonstrates the issue.
bug.zip
The problem appears to be on line 54 of sqlalchemy_utils.py where it dereferences
cd["entity"]
instead of doing a get.The text was updated successfully, but these errors were encountered: