{"action":"closed","issue":{"url":"https://api.github.com/repos/numberoverzero/bloop/issues/63","repository_url":"https://api.github.com/repos/numberoverzero/bloop","labels_url":"https://api.github.com/repos/numberoverzero/bloop/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/numberoverzero/bloop/issues/63/comments","events_url":"https://api.github.com/repos/numberoverzero/bloop/issues/63/events","html_url":"https://github.com/numberoverzero/bloop/issues/63","id":172285652,"number":63,"title":"Comparison(==) should render attribute_not_exists on None","user":{"login":"numberoverzero","id":1223809,"avatar_url":"https://avatars.githubusercontent.com/u/1223809?v=3","gravatar_id":"","url":"https://api.github.com/users/numberoverzero","html_url":"https://github.com/numberoverzero","followers_url":"https://api.github.com/users/numberoverzero/followers","following_url":"https://api.github.com/users/numberoverzero/following{/other_user}","gists_url":"https://api.github.com/users/numberoverzero/gists{/gist_id}","starred_url":"https://api.github.com/users/numberoverzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numberoverzero/subscriptions","organizations_url":"https://api.github.com/users/numberoverzero/orgs","repos_url":"https://api.github.com/users/numberoverzero/repos","events_url":"https://api.github.com/users/numberoverzero/events{/privacy}","received_events_url":"https://api.github.com/users/numberoverzero/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numberoverzero/bloop/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"numberoverzero","id":1223809,"avatar_url":"https://avatars.githubusercontent.com/u/1223809?v=3","gravatar_id":"","url":"https://api.github.com/users/numberoverzero","html_url":"https://github.com/numberoverzero","followers_url":"https://api.github.com/users/numberoverzero/followers","following_url":"https://api.github.com/users/numberoverzero/following{/other_user}","gists_url":"https://api.github.com/users/numberoverzero/gists{/gist_id}","starred_url":"https://api.github.com/users/numberoverzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numberoverzero/subscriptions","organizations_url":"https://api.github.com/users/numberoverzero/orgs","repos_url":"https://api.github.com/users/numberoverzero/repos","events_url":"https://api.github.com/users/numberoverzero/events{/privacy}","received_events_url":"https://api.github.com/users/numberoverzero/received_events","type":"User","site_admin":false},"assignees":[{"login":"numberoverzero","id":1223809,"avatar_url":"https://avatars.githubusercontent.com/u/1223809?v=3","gravatar_id":"","url":"https://api.github.com/users/numberoverzero","html_url":"https://github.com/numberoverzero","followers_url":"https://api.github.com/users/numberoverzero/followers","following_url":"https://api.github.com/users/numberoverzero/following{/other_user}","gists_url":"https://api.github.com/users/numberoverzero/gists{/gist_id}","starred_url":"https://api.github.com/users/numberoverzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numberoverzero/subscriptions","organizations_url":"https://api.github.com/users/numberoverzero/orgs","repos_url":"https://api.github.com/users/numberoverzero/repos","events_url":"https://api.github.com/users/numberoverzero/events{/privacy}","received_events_url":"https://api.github.com/users/numberoverzero/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/numberoverzero/bloop/milestones/1","html_url":"https://github.com/numberoverzero/bloop/milestones/1.0","labels_url":"https://api.github.com/repos/numberoverzero/bloop/milestones/1/labels","id":1210094,"number":1,"title":"1.0","description":null,"creator":{"login":"numberoverzero","id":1223809,"avatar_url":"https://avatars.githubusercontent.com/u/1223809?v=3","gravatar_id":"","url":"https://api.github.com/users/numberoverzero","html_url":"https://github.com/numberoverzero","followers_url":"https://api.github.com/users/numberoverzero/followers","following_url":"https://api.github.com/users/numberoverzero/following{/other_user}","gists_url":"https://api.github.com/users/numberoverzero/gists{/gist_id}","starred_url":"https://api.github.com/users/numberoverzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numberoverzero/subscriptions","organizations_url":"https://api.github.com/users/numberoverzero/orgs","repos_url":"https://api.github.com/users/numberoverzero/repos","events_url":"https://api.github.com/users/numberoverzero/events{/privacy}","received_events_url":"https://api.github.com/users/numberoverzero/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":37,"state":"open","created_at":"2015-07-15T20:50:56Z","updated_at":"2016-08-29T02:40:20Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-20T19:04:49Z","updated_at":"2016-08-29T02:40:20Z","closed_at":"2016-08-29T02:40:20Z","body":"```python\r\ncolumn = Column(Set(Integer), name='c')\r\n\r\n# renders as \"#n0 = None\"\r\n# should render as \"attribute_not_exists(#n0)\"\r\ncondition = column == set()\r\n```\r\n\r\nit's not legal to compare to None (the wire format doesn't support None as a value) so these should only be transformed into `attribute_exists` and `attribute_not_exists`.\r\n\r\nThe check needs to be performed after dumping the value, but before assigning a vref (since it must not be added to the ExpressionAttributeValues as None).\r\n\r\nBecause the nref and vref functions need to be reviewed for #61 these can probably be tackled at the same time."}}
{"actor":{"display_login":"numberoverzero"}}