{"action":"created","issue":{"url":"https://api.github.com/repos/muatik/flask-profiler/issues/34","repository_url":"https://api.github.com/repos/muatik/flask-profiler","labels_url":"https://api.github.com/repos/muatik/flask-profiler/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/muatik/flask-profiler/issues/34/comments","events_url":"https://api.github.com/repos/muatik/flask-profiler/issues/34/events","html_url":"https://github.com/muatik/flask-profiler/pull/34","id":152967386,"number":34,"title":"Fixing pymongo aggregate function","user":{"login":"VojtechBartos","id":1526646,"avatar_url":"https://avatars.githubusercontent.com/u/1526646?v=3","gravatar_id":"","url":"https://api.github.com/users/VojtechBartos","html_url":"https://github.com/VojtechBartos","followers_url":"https://api.github.com/users/VojtechBartos/followers","following_url":"https://api.github.com/users/VojtechBartos/following{/other_user}","gists_url":"https://api.github.com/users/VojtechBartos/gists{/gist_id}","starred_url":"https://api.github.com/users/VojtechBartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VojtechBartos/subscriptions","organizations_url":"https://api.github.com/users/VojtechBartos/orgs","repos_url":"https://api.github.com/users/VojtechBartos/repos","events_url":"https://api.github.com/users/VojtechBartos/events{/privacy}","received_events_url":"https://api.github.com/users/VojtechBartos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-04T09:20:33Z","updated_at":"2016-05-05T09:02:33Z","closed_at":"2016-05-05T08:53:14Z","pull_request":{"url":"https://api.github.com/repos/muatik/flask-profiler/pulls/34","html_url":"https://github.com/muatik/flask-profiler/pull/34","diff_url":"https://github.com/muatik/flask-profiler/pull/34.diff","patch_url":"https://github.com/muatik/flask-profiler/pull/34.patch"},"body":"Return value of pymongo function `aggregate` has been changed since version 3.0.0. Previous versions has been returning `Cursor` and you had to call `result['result']` to get actual output. Since 3.0.0 it's returning result directly. So i have added helper method to check on what version of pymongo you are running end extract output if its necessary.\r\n\r\nCurrently i am using pymongo 3.2.2 and i am not able tu use Mongo storage engine."},"comment":{"url":"https://api.github.com/repos/muatik/flask-profiler/issues/comments/217107104","html_url":"https://github.com/muatik/flask-profiler/pull/34#issuecomment-217107104","issue_url":"https://api.github.com/repos/muatik/flask-profiler/issues/34","id":217107104,"user":{"login":"VojtechBartos","id":1526646,"avatar_url":"https://avatars.githubusercontent.com/u/1526646?v=3","gravatar_id":"","url":"https://api.github.com/users/VojtechBartos","html_url":"https://github.com/VojtechBartos","followers_url":"https://api.github.com/users/VojtechBartos/followers","following_url":"https://api.github.com/users/VojtechBartos/following{/other_user}","gists_url":"https://api.github.com/users/VojtechBartos/gists{/gist_id}","starred_url":"https://api.github.com/users/VojtechBartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VojtechBartos/subscriptions","organizations_url":"https://api.github.com/users/VojtechBartos/orgs","repos_url":"https://api.github.com/users/VojtechBartos/repos","events_url":"https://api.github.com/users/VojtechBartos/events{/privacy}","received_events_url":"https://api.github.com/users/VojtechBartos/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T09:02:33Z","updated_at":"2016-05-05T09:02:33Z","body":"@muatik your welcome ;)"}}