{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/1972","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/1972/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/1972/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/1972/events","html_url":"https://github.com/bokeh/bokeh/pull/1972","id":58734113,"number":1972,"title":"Raise exception when HasProps receives invalid kwargs","user":{"login":"almarklein","id":3015475,"avatar_url":"https://avatars.githubusercontent.com/u/3015475?v=3","gravatar_id":"","url":"https://api.github.com/users/almarklein","html_url":"https://github.com/almarklein","followers_url":"https://api.github.com/users/almarklein/followers","following_url":"https://api.github.com/users/almarklein/following{/other_user}","gists_url":"https://api.github.com/users/almarklein/gists{/gist_id}","starred_url":"https://api.github.com/users/almarklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almarklein/subscriptions","organizations_url":"https://api.github.com/users/almarklein/orgs","repos_url":"https://api.github.com/users/almarklein/repos","events_url":"https://api.github.com/users/almarklein/events{/privacy}","received_events_url":"https://api.github.com/users/almarklein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/status:%20WIP","name":"status: WIP","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-02-24T12:53:42Z","updated_at":"2015-02-25T16:20:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bokeh/bokeh/pulls/1972","html_url":"https://github.com/bokeh/bokeh/pull/1972","diff_url":"https://github.com/bokeh/bokeh/pull/1972.diff","patch_url":"https://github.com/bokeh/bokeh/pull/1972.patch"},"body":"issues: closes #1960\r\n\r\nIn `_glyph_function()` we pop all `kwargs` that we need and pass the rest to the `Glyph` class (and effectively to `HasProps.__init__`)."},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/75990997","html_url":"https://github.com/bokeh/bokeh/pull/1972#issuecomment-75990997","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/1972","id":75990997,"user":{"login":"bryevdv","id":1078448,"avatar_url":"https://avatars.githubusercontent.com/u/1078448?v=3","gravatar_id":"","url":"https://api.github.com/users/bryevdv","html_url":"https://github.com/bryevdv","followers_url":"https://api.github.com/users/bryevdv/followers","following_url":"https://api.github.com/users/bryevdv/following{/other_user}","gists_url":"https://api.github.com/users/bryevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/bryevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryevdv/subscriptions","organizations_url":"https://api.github.com/users/bryevdv/orgs","repos_url":"https://api.github.com/users/bryevdv/repos","events_url":"https://api.github.com/users/bryevdv/events{/privacy}","received_events_url":"https://api.github.com/users/bryevdv/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T16:20:47Z","updated_at":"2015-02-25T16:20:47Z","body":"Well I do know that this and similar patterns do occur in multiple places, and have been the cause of bugs and problems. I probably should have been clear that it was experience motivating these suggestions. As I said `popitem` is an improvement too, we should proceed with here and automation in a different PR at some point. "}}