{"action":"created","issue":{"url":"https://api.github.com/repos/getredash/redash/issues/1419","repository_url":"https://api.github.com/repos/getredash/redash","labels_url":"https://api.github.com/repos/getredash/redash/issues/1419/labels{/name}","comments_url":"https://api.github.com/repos/getredash/redash/issues/1419/comments","events_url":"https://api.github.com/repos/getredash/redash/issues/1419/events","html_url":"https://github.com/getredash/redash/pull/1419","id":190837339,"number":1419,"title":"Change: use redash.utils.json_dumps instead of json.dumps in Python query runner","user":{"login":"ehfeng","id":279398,"avatar_url":"https://avatars.githubusercontent.com/u/279398?v=3","gravatar_id":"","url":"https://api.github.com/users/ehfeng","html_url":"https://github.com/ehfeng","followers_url":"https://api.github.com/users/ehfeng/followers","following_url":"https://api.github.com/users/ehfeng/following{/other_user}","gists_url":"https://api.github.com/users/ehfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/ehfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehfeng/subscriptions","organizations_url":"https://api.github.com/users/ehfeng/orgs","repos_url":"https://api.github.com/users/ehfeng/repos","events_url":"https://api.github.com/users/ehfeng/events{/privacy}","received_events_url":"https://api.github.com/users/ehfeng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-21T21:13:54Z","updated_at":"2016-11-22T22:02:28Z","closed_at":"2016-11-22T13:27:43Z","pull_request":{"url":"https://api.github.com/repos/getredash/redash/pulls/1419","html_url":"https://github.com/getredash/redash/pull/1419","diff_url":"https://github.com/getredash/redash/pull/1419.diff","patch_url":"https://github.com/getredash/redash/pull/1419.patch"},"body":"Currently, python runner is returning datetime objects as unicode strings. `redash.utils.json_dumps` returns them as native python datetime objects."},"comment":{"url":"https://api.github.com/repos/getredash/redash/issues/comments/262379196","html_url":"https://github.com/getredash/redash/pull/1419#issuecomment-262379196","issue_url":"https://api.github.com/repos/getredash/redash/issues/1419","id":262379196,"user":{"login":"arikfr","id":71468,"avatar_url":"https://avatars.githubusercontent.com/u/71468?v=3","gravatar_id":"","url":"https://api.github.com/users/arikfr","html_url":"https://github.com/arikfr","followers_url":"https://api.github.com/users/arikfr/followers","following_url":"https://api.github.com/users/arikfr/following{/other_user}","gists_url":"https://api.github.com/users/arikfr/gists{/gist_id}","starred_url":"https://api.github.com/users/arikfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arikfr/subscriptions","organizations_url":"https://api.github.com/users/arikfr/orgs","repos_url":"https://api.github.com/users/arikfr/repos","events_url":"https://api.github.com/users/arikfr/events{/privacy}","received_events_url":"https://api.github.com/users/arikfr/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T22:02:28Z","updated_at":"2016-11-22T22:02:28Z","body":"It's only an extension of the previous behavior - the data types `json_dumps` handles make the regular `json.dumps` call raise an exception.\r\n\r\nBut anyway we don't have the Python query runner enabled in the hosted version, as it's a security risk. While it runs in a sandbox, I quite easily managed to by pass it. And I'm not some hacker...\r\n\r\nThanks for the concern though :) "}}
{"actor":{"display_login":"arikfr"}}