{"action":"created","issue":{"url":"https://api.github.com/repos/ponyorm/pony/issues/143","labels_url":"https://api.github.com/repos/ponyorm/pony/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/ponyorm/pony/issues/143/comments","events_url":"https://api.github.com/repos/ponyorm/pony/issues/143/events","html_url":"https://github.com/ponyorm/pony/issues/143","id":106387047,"number":143,"title":"adding new methods to entities","user":{"login":"d555","id":1428088,"avatar_url":"https://avatars.githubusercontent.com/u/1428088?v=3","gravatar_id":"","url":"https://api.github.com/users/d555","html_url":"https://github.com/d555","followers_url":"https://api.github.com/users/d555/followers","following_url":"https://api.github.com/users/d555/following{/other_user}","gists_url":"https://api.github.com/users/d555/gists{/gist_id}","starred_url":"https://api.github.com/users/d555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d555/subscriptions","organizations_url":"https://api.github.com/users/d555/orgs","repos_url":"https://api.github.com/users/d555/repos","events_url":"https://api.github.com/users/d555/events{/privacy}","received_events_url":"https://api.github.com/users/d555/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kozlovsky","id":2931136,"avatar_url":"https://avatars.githubusercontent.com/u/2931136?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovsky","html_url":"https://github.com/kozlovsky","followers_url":"https://api.github.com/users/kozlovsky/followers","following_url":"https://api.github.com/users/kozlovsky/following{/other_user}","gists_url":"https://api.github.com/users/kozlovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovsky/subscriptions","organizations_url":"https://api.github.com/users/kozlovsky/orgs","repos_url":"https://api.github.com/users/kozlovsky/repos","events_url":"https://api.github.com/users/kozlovsky/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovsky/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ponyorm/pony/milestones/2","html_url":"https://github.com/ponyorm/pony/milestones/0.6.2","labels_url":"https://api.github.com/repos/ponyorm/pony/milestones/2/labels","id":1043787,"number":2,"title":"0.6.2","description":"","creator":{"login":"kozlovsky","id":2931136,"avatar_url":"https://avatars.githubusercontent.com/u/2931136?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovsky","html_url":"https://github.com/kozlovsky","followers_url":"https://api.github.com/users/kozlovsky/followers","following_url":"https://api.github.com/users/kozlovsky/following{/other_user}","gists_url":"https://api.github.com/users/kozlovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovsky/subscriptions","organizations_url":"https://api.github.com/users/kozlovsky/orgs","repos_url":"https://api.github.com/users/kozlovsky/repos","events_url":"https://api.github.com/users/kozlovsky/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovsky/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2015-03-29T22:05:40Z","updated_at":"2015-09-22T07:10:51Z","due_on":"2015-02-19T21:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-14T17:07:08Z","updated_at":"2015-09-22T07:12:54Z","closed_at":null,"body":"Is there any way to add a method to entity after his definition in an appropriate way? Because I had tried it, but pony rise ImplementionError. I've found out, that I can add a method iff the method starts and ends with underscore like the following: `Entity._newmethod_` and everything works like charm. But,  I really want to call the method without the underscores. Or I am doing something wrong? Thanks. \r\n\r\nBtw. I added the methods with a decorator, wrapped them with that.\r\n\r\nThanks authors. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ponyorm/pony/issues/comments/142199777","html_url":"https://github.com/ponyorm/pony/issues/143#issuecomment-142199777","issue_url":"https://api.github.com/repos/ponyorm/pony/issues/143","id":142199777,"user":{"login":"kozlovsky","id":2931136,"avatar_url":"https://avatars.githubusercontent.com/u/2931136?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovsky","html_url":"https://github.com/kozlovsky","followers_url":"https://api.github.com/users/kozlovsky/followers","following_url":"https://api.github.com/users/kozlovsky/following{/other_user}","gists_url":"https://api.github.com/users/kozlovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovsky/subscriptions","organizations_url":"https://api.github.com/users/kozlovsky/orgs","repos_url":"https://api.github.com/users/kozlovsky/repos","events_url":"https://api.github.com/users/kozlovsky/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovsky/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T07:12:54Z","updated_at":"2015-09-22T07:12:54Z","body":"This restriction is obsolete, I'll remove it. Now it will be possible to freely assign methods to entities. This will be part of the next release PonyORM 0.6.2"}}