{"action":"created","comment":{"url":"https://api.github.com/repos/kalefranz/auxlib/pulls/comments/54346035","id":54346035,"diff_hunk":"@@ -168,6 +173,20 @@ def test_inherited_field_with_default_value(self):\n         with ExpectedException(ValidationError):\n             dse.integer_field = None\n \n+    def test_entity_fields_list(self):\n+        fields = DerivedSampleEntity.fields\n+        assert 'string_field_w_default' in fields\n+        assert 'new_field' in fields\n+\n+    def test_from_json(self):\n+        se = SampleEntity(string_field='bazaar', integer_field=28, enum_field=ChooseOne.B)\n+        se_dumped = se.dump()\n+\n+        se_reloaded = SampleEntity.from_json(json.dumps(se_dumped))\n+        assert se == se_reloaded\n+","path":"tests/test_entity.py","position":49,"original_position":49,"commit_id":"d413d6c707d77cd9a91e130d52f9920104e61a93","original_commit_id":"d413d6c707d77cd9a91e130d52f9920104e61a93","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/versioned/images/favicon.png) Issue found: [Unused variable 'json_str'](https://www.codacy.com/app/kalefranz/auxlib/file/2131714595/issues/source?bid=3138661&fileBranchId=3139130#l188)","created_at":"2016-02-28T08:38:54Z","updated_at":"2016-02-28T08:38:54Z","html_url":"https://github.com/kalefranz/auxlib/pull/5#discussion_r54346035","pull_request_url":"https://api.github.com/repos/kalefranz/auxlib/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/kalefranz/auxlib/pulls/comments/54346035"},"html":{"href":"https://github.com/kalefranz/auxlib/pull/5#discussion_r54346035"},"pull_request":{"href":"https://api.github.com/repos/kalefranz/auxlib/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/kalefranz/auxlib/pulls/5","id":59996030,"html_url":"https://github.com/kalefranz/auxlib/pull/5","diff_url":"https://github.com/kalefranz/auxlib/pull/5.diff","patch_url":"https://github.com/kalefranz/auxlib/pull/5.patch","issue_url":"https://api.github.com/repos/kalefranz/auxlib/issues/5","number":5,"state":"open","locked":false,"title":"hygiene cleanup","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-19T19:33:25Z","updated_at":"2016-02-28T08:38:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a171820b3fb0b79599d4b64aba820dd76181133","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kalefranz/auxlib/pulls/5/commits","review_comments_url":"https://api.github.com/repos/kalefranz/auxlib/pulls/5/comments","review_comment_url":"https://api.github.com/repos/kalefranz/auxlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kalefranz/auxlib/issues/5/comments","statuses_url":"https://api.github.com/repos/kalefranz/auxlib/statuses/d413d6c707d77cd9a91e130d52f9920104e61a93","head":{"label":"kalefranz:feature/code-hygine","ref":"feature/code-hygine","sha":"d413d6c707d77cd9a91e130d52f9920104e61a93","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"repo":{"id":34494009,"name":"auxlib","full_name":"kalefranz/auxlib","owner":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kalefranz/auxlib","description":"auxiliary library to the python standard library","fork":false,"url":"https://api.github.com/repos/kalefranz/auxlib","forks_url":"https://api.github.com/repos/kalefranz/auxlib/forks","keys_url":"https://api.github.com/repos/kalefranz/auxlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kalefranz/auxlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kalefranz/auxlib/teams","hooks_url":"https://api.github.com/repos/kalefranz/auxlib/hooks","issue_events_url":"https://api.github.com/repos/kalefranz/auxlib/issues/events{/number}","events_url":"https://api.github.com/repos/kalefranz/auxlib/events","assignees_url":"https://api.github.com/repos/kalefranz/auxlib/assignees{/user}","branches_url":"https://api.github.com/repos/kalefranz/auxlib/branches{/branch}","tags_url":"https://api.github.com/repos/kalefranz/auxlib/tags","blobs_url":"https://api.github.com/repos/kalefranz/auxlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kalefranz/auxlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kalefranz/auxlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/kalefranz/auxlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kalefranz/auxlib/statuses/{sha}","languages_url":"https://api.github.com/repos/kalefranz/auxlib/languages","stargazers_url":"https://api.github.com/repos/kalefranz/auxlib/stargazers","contributors_url":"https://api.github.com/repos/kalefranz/auxlib/contributors","subscribers_url":"https://api.github.com/repos/kalefranz/auxlib/subscribers","subscription_url":"https://api.github.com/repos/kalefranz/auxlib/subscription","commits_url":"https://api.github.com/repos/kalefranz/auxlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/kalefranz/auxlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/kalefranz/auxlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/kalefranz/auxlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/kalefranz/auxlib/contents/{+path}","compare_url":"https://api.github.com/repos/kalefranz/auxlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kalefranz/auxlib/merges","archive_url":"https://api.github.com/repos/kalefranz/auxlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kalefranz/auxlib/downloads","issues_url":"https://api.github.com/repos/kalefranz/auxlib/issues{/number}","pulls_url":"https://api.github.com/repos/kalefranz/auxlib/pulls{/number}","milestones_url":"https://api.github.com/repos/kalefranz/auxlib/milestones{/number}","notifications_url":"https://api.github.com/repos/kalefranz/auxlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kalefranz/auxlib/labels{/name}","releases_url":"https://api.github.com/repos/kalefranz/auxlib/releases{/id}","deployments_url":"https://api.github.com/repos/kalefranz/auxlib/deployments","created_at":"2015-04-24T02:41:55Z","updated_at":"2016-01-19T02:20:12Z","pushed_at":"2016-02-28T08:35:36Z","git_url":"git://github.com/kalefranz/auxlib.git","ssh_url":"git@github.com:kalefranz/auxlib.git","clone_url":"https://github.com/kalefranz/auxlib.git","svn_url":"https://github.com/kalefranz/auxlib","homepage":null,"size":174,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"kalefranz:develop","ref":"develop","sha":"ac6e6999a7a6060a9ceb995429a7de596b204176","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"repo":{"id":34494009,"name":"auxlib","full_name":"kalefranz/auxlib","owner":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kalefranz/auxlib","description":"auxiliary library to the python standard library","fork":false,"url":"https://api.github.com/repos/kalefranz/auxlib","forks_url":"https://api.github.com/repos/kalefranz/auxlib/forks","keys_url":"https://api.github.com/repos/kalefranz/auxlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kalefranz/auxlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kalefranz/auxlib/teams","hooks_url":"https://api.github.com/repos/kalefranz/auxlib/hooks","issue_events_url":"https://api.github.com/repos/kalefranz/auxlib/issues/events{/number}","events_url":"https://api.github.com/repos/kalefranz/auxlib/events","assignees_url":"https://api.github.com/repos/kalefranz/auxlib/assignees{/user}","branches_url":"https://api.github.com/repos/kalefranz/auxlib/branches{/branch}","tags_url":"https://api.github.com/repos/kalefranz/auxlib/tags","blobs_url":"https://api.github.com/repos/kalefranz/auxlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kalefranz/auxlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kalefranz/auxlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/kalefranz/auxlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kalefranz/auxlib/statuses/{sha}","languages_url":"https://api.github.com/repos/kalefranz/auxlib/languages","stargazers_url":"https://api.github.com/repos/kalefranz/auxlib/stargazers","contributors_url":"https://api.github.com/repos/kalefranz/auxlib/contributors","subscribers_url":"https://api.github.com/repos/kalefranz/auxlib/subscribers","subscription_url":"https://api.github.com/repos/kalefranz/auxlib/subscription","commits_url":"https://api.github.com/repos/kalefranz/auxlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/kalefranz/auxlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/kalefranz/auxlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/kalefranz/auxlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/kalefranz/auxlib/contents/{+path}","compare_url":"https://api.github.com/repos/kalefranz/auxlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kalefranz/auxlib/merges","archive_url":"https://api.github.com/repos/kalefranz/auxlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kalefranz/auxlib/downloads","issues_url":"https://api.github.com/repos/kalefranz/auxlib/issues{/number}","pulls_url":"https://api.github.com/repos/kalefranz/auxlib/pulls{/number}","milestones_url":"https://api.github.com/repos/kalefranz/auxlib/milestones{/number}","notifications_url":"https://api.github.com/repos/kalefranz/auxlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kalefranz/auxlib/labels{/name}","releases_url":"https://api.github.com/repos/kalefranz/auxlib/releases{/id}","deployments_url":"https://api.github.com/repos/kalefranz/auxlib/deployments","created_at":"2015-04-24T02:41:55Z","updated_at":"2016-01-19T02:20:12Z","pushed_at":"2016-02-28T08:35:36Z","git_url":"git://github.com/kalefranz/auxlib.git","ssh_url":"git@github.com:kalefranz/auxlib.git","clone_url":"https://github.com/kalefranz/auxlib.git","svn_url":"https://github.com/kalefranz/auxlib","homepage":null,"size":174,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kalefranz/auxlib/pulls/5"},"html":{"href":"https://github.com/kalefranz/auxlib/pull/5"},"issue":{"href":"https://api.github.com/repos/kalefranz/auxlib/issues/5"},"comments":{"href":"https://api.github.com/repos/kalefranz/auxlib/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/kalefranz/auxlib/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/kalefranz/auxlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kalefranz/auxlib/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/kalefranz/auxlib/statuses/d413d6c707d77cd9a91e130d52f9920104e61a93"}}}}