{"action":"created","issue":{"url":"https://api.github.com/repos/ottogroup/palladium/issues/19","repository_url":"https://api.github.com/repos/ottogroup/palladium","labels_url":"https://api.github.com/repos/ottogroup/palladium/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/ottogroup/palladium/issues/19/comments","events_url":"https://api.github.com/repos/ottogroup/palladium/issues/19/events","html_url":"https://github.com/ottogroup/palladium/pull/19","id":164399222,"number":19,"title":"Add DiskCacheDatasetLoader","user":{"login":"dnouri","id":56370,"avatar_url":"https://avatars.githubusercontent.com/u/56370?v=3","gravatar_id":"","url":"https://api.github.com/users/dnouri","html_url":"https://github.com/dnouri","followers_url":"https://api.github.com/users/dnouri/followers","following_url":"https://api.github.com/users/dnouri/following{/other_user}","gists_url":"https://api.github.com/users/dnouri/gists{/gist_id}","starred_url":"https://api.github.com/users/dnouri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnouri/subscriptions","organizations_url":"https://api.github.com/users/dnouri/orgs","repos_url":"https://api.github.com/users/dnouri/repos","events_url":"https://api.github.com/users/dnouri/events{/privacy}","received_events_url":"https://api.github.com/users/dnouri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-07T20:25:00Z","updated_at":"2016-07-07T20:31:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ottogroup/palladium/pulls/19","html_url":"https://github.com/ottogroup/palladium/pull/19","diff_url":"https://github.com/ottogroup/palladium/pull/19.diff","patch_url":"https://github.com/ottogroup/palladium/pull/19.patch"},"body":"This lets me define something like:\r\n\r\n```\r\n    'dataset_loader_train': {\r\n        '__factory__': 'palladium.dataset.DiskCacheDatasetLoader',\r\n        'path': '/tmp/my-dataset-cache-{key}',\r\n        'attrs': ['engine', 'sql', 'target_column'],\r\n        'impl': {\r\n            '__factory__': 'palladium.dataset.SQL',\r\n            'url': 'some-db-url',\r\n            'sql': 'some-sql',\r\n            'target_column': 'some-column',\r\n        },\r\n```\r\n\r\nAnd have the dataset loader cache the result of a potentially costly SQL query on the filesystem."},"comment":{"url":"https://api.github.com/repos/ottogroup/palladium/issues/comments/231198186","html_url":"https://github.com/ottogroup/palladium/pull/19#issuecomment-231198186","issue_url":"https://api.github.com/repos/ottogroup/palladium/issues/19","id":231198186,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T20:31:40Z","updated_at":"2016-07-07T20:31:40Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6913476/badge)](https://coveralls.io/builds/6913476)\n\nCoverage remained the same at 100.0% when pulling **fa15a4cbecf0dc14b78ba141127171d8e41c76b9 on samsungaccelerator:feature-diskcachedatasetloader** into **7ad551e9042ad1996d1d21872e2ce4d1b1b89454 on ottogroup:develop**.\n"}}
{"actor":{"display_login":"coveralls"}}