{"action":"created","issue":{"url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/521","repository_url":"https://api.github.com/repos/tensorlayer/tensorlayer","labels_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/521/comments","events_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/521/events","html_url":"https://github.com/tensorlayer/tensorlayer/pull/521","id":316618331,"number":521,"title":"Abstract class enforced","user":{"login":"DEKHTIARJonathan","id":10923599,"avatar_url":"https://avatars2.githubusercontent.com/u/10923599?v=4","gravatar_id":"","url":"https://api.github.com/users/DEKHTIARJonathan","html_url":"https://github.com/DEKHTIARJonathan","followers_url":"https://api.github.com/users/DEKHTIARJonathan/followers","following_url":"https://api.github.com/users/DEKHTIARJonathan/following{/other_user}","gists_url":"https://api.github.com/users/DEKHTIARJonathan/gists{/gist_id}","starred_url":"https://api.github.com/users/DEKHTIARJonathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEKHTIARJonathan/subscriptions","organizations_url":"https://api.github.com/users/DEKHTIARJonathan/orgs","repos_url":"https://api.github.com/users/DEKHTIARJonathan/repos","events_url":"https://api.github.com/users/DEKHTIARJonathan/events{/privacy}","received_events_url":"https://api.github.com/users/DEKHTIARJonathan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-22T22:18:43Z","updated_at":"2018-04-22T23:29:20Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/521","html_url":"https://github.com/tensorlayer/tensorlayer/pull/521","diff_url":"https://github.com/tensorlayer/tensorlayer/pull/521.diff","patch_url":"https://github.com/tensorlayer/tensorlayer/pull/521.patch"},"body":"### Motivation and Context\r\nWith the PR #519 I noticed that the class LayersConfig was used and thought as an abstract class containing various data.\r\n\r\nThis PR enforce this behavior to ensure that only one class named like this exist in the library. I also have implemented a unittest for it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/comments/383420694","html_url":"https://github.com/tensorlayer/tensorlayer/pull/521#issuecomment-383420694","issue_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/521","id":383420694,"user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"created_at":"2018-04-22T23:29:20Z","updated_at":"2018-04-22T23:29:20Z","author_association":"NONE","body":"\n![Codacy](https://app.codacy.com/assets/images/favicon.png) Here is an overview of what got changed by this pull request:\n\n\n```diff\n\nIssues\n======\n- Added 1\n           \n\nComplexity increasing per file\n==============================\n- tests/test_layers_core.py  1\n         \n```\n\n\nSee the complete overview on [Codacy](https://app.codacy.com/app/tensorlayer/tensorlayer/pullRequest?prid=1568992&bid=7121083)\n        "}}
{"actor":{"display_login":"codacy-bot"}}