{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/150","labels_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/150/comments","events_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/150/events","html_url":"https://github.com/mitsuhiko/werkzeug/issues/150","id":2709669,"number":150,"title":"Cache add method does not return whether the value was set","user":{"login":"anti-social","id":305899,"avatar_url":"https://avatars.githubusercontent.com/u/305899?v=3","gravatar_id":"","url":"https://api.github.com/users/anti-social","html_url":"https://github.com/anti-social","followers_url":"https://api.github.com/users/anti-social/followers","following_url":"https://api.github.com/users/anti-social/following{/other_user}","gists_url":"https://api.github.com/users/anti-social/gists{/gist_id}","starred_url":"https://api.github.com/users/anti-social/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anti-social/subscriptions","organizations_url":"https://api.github.com/users/anti-social/orgs","repos_url":"https://api.github.com/users/anti-social/repos","events_url":"https://api.github.com/users/anti-social/events{/privacy}","received_events_url":"https://api.github.com/users/anti-social/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2012-01-03T12:00:50Z","updated_at":"2015-03-22T19:42:15Z","closed_at":"2015-03-22T19:42:15Z","body":"I need that for lock based on cache:\r\n\r\n~~~~~~~~~ { python }\r\naquire_lock = lambda lock_id: cache.add(lock_id, 'true', LOCK_EXPIRE)\r\n~~~~~~~~~\r\n\r\nBut with cache from werkzeug I cannot know whether lock was aquired."},"comment":{"url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/comments/84685478","html_url":"https://github.com/mitsuhiko/werkzeug/issues/150#issuecomment-84685478","issue_url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/150","id":84685478,"user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T19:42:15Z","updated_at":"2015-03-22T19:42:15Z","body":"Fixed in 0.10, since January."}}