{"action":"created","issue":{"url":"https://api.github.com/repos/andycasey/ads/issues/38","labels_url":"https://api.github.com/repos/andycasey/ads/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/andycasey/ads/issues/38/comments","events_url":"https://api.github.com/repos/andycasey/ads/issues/38/events","html_url":"https://github.com/andycasey/ads/issues/38","id":122632401,"number":38,"title":"Article.volume don't save None value and have to reconnect to ADS","user":{"login":"Morisset","id":442951,"avatar_url":"https://avatars.githubusercontent.com/u/442951?v=3","gravatar_id":"","url":"https://api.github.com/users/Morisset","html_url":"https://github.com/Morisset","followers_url":"https://api.github.com/users/Morisset/followers","following_url":"https://api.github.com/users/Morisset/following{/other_user}","gists_url":"https://api.github.com/users/Morisset/gists{/gist_id}","starred_url":"https://api.github.com/users/Morisset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morisset/subscriptions","organizations_url":"https://api.github.com/users/Morisset/orgs","repos_url":"https://api.github.com/users/Morisset/repos","events_url":"https://api.github.com/users/Morisset/events{/privacy}","received_events_url":"https://api.github.com/users/Morisset/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/andycasey/ads/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"vsudilov","id":3504740,"avatar_url":"https://avatars.githubusercontent.com/u/3504740?v=3","gravatar_id":"","url":"https://api.github.com/users/vsudilov","html_url":"https://github.com/vsudilov","followers_url":"https://api.github.com/users/vsudilov/followers","following_url":"https://api.github.com/users/vsudilov/following{/other_user}","gists_url":"https://api.github.com/users/vsudilov/gists{/gist_id}","starred_url":"https://api.github.com/users/vsudilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsudilov/subscriptions","organizations_url":"https://api.github.com/users/vsudilov/orgs","repos_url":"https://api.github.com/users/vsudilov/repos","events_url":"https://api.github.com/users/vsudilov/events{/privacy}","received_events_url":"https://api.github.com/users/vsudilov/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-17T00:04:15Z","updated_at":"2015-12-17T14:49:45Z","closed_at":null,"body":"Hi,\r\n\r\nI found some very strange behavior. The following code illustrate the problem:\r\nhttps://github.com/Morisset/SNI_ads/blob/master/test_get_volume.py\r\nI think the problem comes from werkzeug.utils.cached_property which does not receive a correct value the first time the call to ADS is done. It should store None in the __dict__, but it stores nothing. Then it has to reconnect to ADS to obtain the correct value (not sure this is clear...).\r\nCh."},"comment":{"url":"https://api.github.com/repos/andycasey/ads/issues/comments/165472232","html_url":"https://github.com/andycasey/ads/issues/38#issuecomment-165472232","issue_url":"https://api.github.com/repos/andycasey/ads/issues/38","id":165472232,"user":{"login":"Morisset","id":442951,"avatar_url":"https://avatars.githubusercontent.com/u/442951?v=3","gravatar_id":"","url":"https://api.github.com/users/Morisset","html_url":"https://github.com/Morisset","followers_url":"https://api.github.com/users/Morisset/followers","following_url":"https://api.github.com/users/Morisset/following{/other_user}","gists_url":"https://api.github.com/users/Morisset/gists{/gist_id}","starred_url":"https://api.github.com/users/Morisset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morisset/subscriptions","organizations_url":"https://api.github.com/users/Morisset/orgs","repos_url":"https://api.github.com/users/Morisset/repos","events_url":"https://api.github.com/users/Morisset/events{/privacy}","received_events_url":"https://api.github.com/users/Morisset/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T14:49:45Z","updated_at":"2015-12-17T14:49:45Z","body":"Thanks for your answer. I don't see how practically I can change the code to avoid the secondary calls to ADS when volume is None..."}}