{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartoframes/issues/382","repository_url":"https://api.github.com/repos/CartoDB/cartoframes","labels_url":"https://api.github.com/repos/CartoDB/cartoframes/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartoframes/issues/382/comments","events_url":"https://api.github.com/repos/CartoDB/cartoframes/issues/382/events","html_url":"https://github.com/CartoDB/cartoframes/pull/382","id":297531764,"number":382,"title":"Example context","user":{"login":"juanignaciosl","id":932968,"avatar_url":"https://avatars2.githubusercontent.com/u/932968?v=4","gravatar_id":"","url":"https://api.github.com/users/juanignaciosl","html_url":"https://github.com/juanignaciosl","followers_url":"https://api.github.com/users/juanignaciosl/followers","following_url":"https://api.github.com/users/juanignaciosl/following{/other_user}","gists_url":"https://api.github.com/users/juanignaciosl/gists{/gist_id}","starred_url":"https://api.github.com/users/juanignaciosl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanignaciosl/subscriptions","organizations_url":"https://api.github.com/users/juanignaciosl/orgs","repos_url":"https://api.github.com/users/juanignaciosl/repos","events_url":"https://api.github.com/users/juanignaciosl/events{/privacy}","received_events_url":"https://api.github.com/users/juanignaciosl/received_events","type":"User","site_admin":false},"labels":[{"id":843721794,"url":"https://api.github.com/repos/CartoDB/cartoframes/labels/blocked","name":"blocked","color":"e11d21","default":false},{"id":896917773,"url":"https://api.github.com/repos/CartoDB/cartoframes/labels/examples","name":"examples","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-02-15T17:30:11Z","updated_at":"2018-04-18T08:40:06Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/CartoDB/cartoframes/pulls/382","html_url":"https://github.com/CartoDB/cartoframes/pull/382","diff_url":"https://github.com/CartoDB/cartoframes/pull/382.diff","patch_url":"https://github.com/CartoDB/cartoframes/pull/382.patch"},"body":"Auth API is going to be released really soon, and this PR is blocked because of that.\r\n\r\nI've been doing some tests with the [`auth-api` branch of SQL API](https://github.com/CartoDB/CartoDB-SQL-API/tree/auth-api), which is still under heavy development.\r\n\r\nAssuming that Auth API fits the problem of having a managed user with example data, we should use the (new) default public key token, `default_public`. That would grant automatically read access to every public dataset. I think that this is the simplest approach, but we should come up with a proper way of checking if it's a valid authentication. Currently, this is done:\r\n\r\nhttps://github.com/CartoDB/cartoframes/blob/777ff514d7f1930c0a9af9e2152b3d6ee5e33702/cartoframes/context.py#L117-L121\r\n\r\nNevertheless, as we've said, that's a hack. I've requested a proper fix here: CartoDB/cartodb#13556\r\n\r\n\r\nI'd keep this PR on hold until Auth API is released (it's going to happen in a few days). Once it's released, we can change `_is_authenticated ` so it uses a valid approach with Auth API and release this, with `cartoframes` user. What do you think, @andy-esch ?\r\n\r\n_EDIT: also related: CartoDB/carto-python/issues/69_"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartoframes/issues/comments/382310743","html_url":"https://github.com/CartoDB/cartoframes/pull/382#issuecomment-382310743","issue_url":"https://api.github.com/repos/CartoDB/cartoframes/issues/382","id":382310743,"user":{"login":"andy-esch","id":1041056,"avatar_url":"https://avatars2.githubusercontent.com/u/1041056?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-esch","html_url":"https://github.com/andy-esch","followers_url":"https://api.github.com/users/andy-esch/followers","following_url":"https://api.github.com/users/andy-esch/following{/other_user}","gists_url":"https://api.github.com/users/andy-esch/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-esch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-esch/subscriptions","organizations_url":"https://api.github.com/users/andy-esch/orgs","repos_url":"https://api.github.com/users/andy-esch/repos","events_url":"https://api.github.com/users/andy-esch/events{/privacy}","received_events_url":"https://api.github.com/users/andy-esch/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T08:40:06Z","updated_at":"2018-04-18T08:40:06Z","author_association":"MEMBER","body":"Now that Auth API is released _and_ the [developer docs](https://carto.com/developers/cartoframes/guides/Quickstart/) are in place, I'll start making a list of the function names we need for the files this week or early next week."}}
{"actor":{"display_login":"andy-esch"}}