{"action":"opened","issue":{"url":"https://api.github.com/repos/AndreaCensi/contracts/issues/37","labels_url":"https://api.github.com/repos/AndreaCensi/contracts/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/AndreaCensi/contracts/issues/37/comments","events_url":"https://api.github.com/repos/AndreaCensi/contracts/issues/37/events","html_url":"https://github.com/AndreaCensi/contracts/issues/37","id":66304661,"number":37,"title":"Add 'in' support","user":{"login":"Stibbons","id":133498,"avatar_url":"https://avatars.githubusercontent.com/u/133498?v=3","gravatar_id":"","url":"https://api.github.com/users/Stibbons","html_url":"https://github.com/Stibbons","followers_url":"https://api.github.com/users/Stibbons/followers","following_url":"https://api.github.com/users/Stibbons/following{/other_user}","gists_url":"https://api.github.com/users/Stibbons/gists{/gist_id}","starred_url":"https://api.github.com/users/Stibbons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stibbons/subscriptions","organizations_url":"https://api.github.com/users/Stibbons/orgs","repos_url":"https://api.github.com/users/Stibbons/repos","events_url":"https://api.github.com/users/Stibbons/events{/privacy}","received_events_url":"https://api.github.com/users/Stibbons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-04T10:51:48Z","updated_at":"2015-04-04T10:51:48Z","closed_at":null,"body":"Hello. I propose the following syntax to implement\r\n\r\n  @contract(arg=\"str,in('a','b','c')\")\r\n  def function(arg):\r\n    pass\r\n\r\nAction: perform the following python code\r\n\r\n  assert(arg in {'a', 'b', 'c'})"}}