{"action":"created","issue":{"url":"https://api.github.com/repos/google/ggrc-core/issues/4461","repository_url":"https://api.github.com/repos/google/ggrc-core","labels_url":"https://api.github.com/repos/google/ggrc-core/issues/4461/labels{/name}","comments_url":"https://api.github.com/repos/google/ggrc-core/issues/4461/comments","events_url":"https://api.github.com/repos/google/ggrc-core/issues/4461/events","html_url":"https://github.com/google/ggrc-core/pull/4461","id":179692709,"number":4461,"title":"QUICK-FIX Fix SQLAlchemy warning in similar filter","user":{"login":"alieh-rymasheuski","id":9883236,"avatar_url":"https://avatars.githubusercontent.com/u/9883236?v=3","gravatar_id":"","url":"https://api.github.com/users/alieh-rymasheuski","html_url":"https://github.com/alieh-rymasheuski","followers_url":"https://api.github.com/users/alieh-rymasheuski/followers","following_url":"https://api.github.com/users/alieh-rymasheuski/following{/other_user}","gists_url":"https://api.github.com/users/alieh-rymasheuski/gists{/gist_id}","starred_url":"https://api.github.com/users/alieh-rymasheuski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alieh-rymasheuski/subscriptions","organizations_url":"https://api.github.com/users/alieh-rymasheuski/orgs","repos_url":"https://api.github.com/users/alieh-rymasheuski/repos","events_url":"https://api.github.com/users/alieh-rymasheuski/events{/privacy}","received_events_url":"https://api.github.com/users/alieh-rymasheuski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"egorhm","id":513820,"avatar_url":"https://avatars.githubusercontent.com/u/513820?v=3","gravatar_id":"","url":"https://api.github.com/users/egorhm","html_url":"https://github.com/egorhm","followers_url":"https://api.github.com/users/egorhm/followers","following_url":"https://api.github.com/users/egorhm/following{/other_user}","gists_url":"https://api.github.com/users/egorhm/gists{/gist_id}","starred_url":"https://api.github.com/users/egorhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egorhm/subscriptions","organizations_url":"https://api.github.com/users/egorhm/orgs","repos_url":"https://api.github.com/users/egorhm/repos","events_url":"https://api.github.com/users/egorhm/events{/privacy}","received_events_url":"https://api.github.com/users/egorhm/received_events","type":"User","site_admin":false},"assignees":[{"login":"egorhm","id":513820,"avatar_url":"https://avatars.githubusercontent.com/u/513820?v=3","gravatar_id":"","url":"https://api.github.com/users/egorhm","html_url":"https://github.com/egorhm","followers_url":"https://api.github.com/users/egorhm/followers","following_url":"https://api.github.com/users/egorhm/following{/other_user}","gists_url":"https://api.github.com/users/egorhm/gists{/gist_id}","starred_url":"https://api.github.com/users/egorhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egorhm/subscriptions","organizations_url":"https://api.github.com/users/egorhm/orgs","repos_url":"https://api.github.com/users/egorhm/repos","events_url":"https://api.github.com/users/egorhm/events{/privacy}","received_events_url":"https://api.github.com/users/egorhm/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/google/ggrc-core/milestones/22","html_url":"https://github.com/google/ggrc-core/milestones/0.9.8-Raspberry","labels_url":"https://api.github.com/repos/google/ggrc-core/milestones/22/labels","id":1902139,"number":22,"title":"0.9.8-Raspberry","description":"","creator":{"login":"Smotko","id":513444,"avatar_url":"https://avatars.githubusercontent.com/u/513444?v=3","gravatar_id":"","url":"https://api.github.com/users/Smotko","html_url":"https://github.com/Smotko","followers_url":"https://api.github.com/users/Smotko/followers","following_url":"https://api.github.com/users/Smotko/following{/other_user}","gists_url":"https://api.github.com/users/Smotko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smotko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smotko/subscriptions","organizations_url":"https://api.github.com/users/Smotko/orgs","repos_url":"https://api.github.com/users/Smotko/repos","events_url":"https://api.github.com/users/Smotko/events{/privacy}","received_events_url":"https://api.github.com/users/Smotko/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":14,"state":"open","created_at":"2016-07-25T10:56:23Z","updated_at":"2016-09-28T06:45:57Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-28T06:45:57Z","updated_at":"2016-09-28T10:44:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/ggrc-core/pulls/4461","html_url":"https://github.com/google/ggrc-core/pull/4461","diff_url":"https://github.com/google/ggrc-core/pull/4461.diff","patch_url":"https://github.com/google/ggrc-core/pull/4461.patch"},"body":"This PR fixes the code so that a warning from SQLAlchemy \"IN-predicate was called with an empty sequence\" mentioned in #4455 that is raised in case when the filter should return an empty result set no longer appears.\r\n\r\nDoing the filter like `ids = query_for_ids.all() ; id.in_(ids)` is slightly faster than doing it like `id.in_(query_for_ids)`. This difference increases with the size of the result set."},"comment":{"url":"https://api.github.com/repos/google/ggrc-core/issues/comments/250133225","html_url":"https://github.com/google/ggrc-core/pull/4461#issuecomment-250133225","issue_url":"https://api.github.com/repos/google/ggrc-core/issues/4461","id":250133225,"user":{"login":"egorhm","id":513820,"avatar_url":"https://avatars.githubusercontent.com/u/513820?v=3","gravatar_id":"","url":"https://api.github.com/users/egorhm","html_url":"https://github.com/egorhm","followers_url":"https://api.github.com/users/egorhm/followers","following_url":"https://api.github.com/users/egorhm/following{/other_user}","gists_url":"https://api.github.com/users/egorhm/gists{/gist_id}","starred_url":"https://api.github.com/users/egorhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egorhm/subscriptions","organizations_url":"https://api.github.com/users/egorhm/orgs","repos_url":"https://api.github.com/users/egorhm/repos","events_url":"https://api.github.com/users/egorhm/events{/privacy}","received_events_url":"https://api.github.com/users/egorhm/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T10:44:22Z","updated_at":"2016-09-28T10:44:22Z","body":"@alieh-rymasheuski let's do this PR into quince release."}}
{"actor":{"display_login":"egorhm"}}