{"action":"closed","issue":{"url":"https://api.github.com/repos/jhpyle/docassemble/issues/8","repository_url":"https://api.github.com/repos/jhpyle/docassemble","labels_url":"https://api.github.com/repos/jhpyle/docassemble/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jhpyle/docassemble/issues/8/comments","events_url":"https://api.github.com/repos/jhpyle/docassemble/issues/8/events","html_url":"https://github.com/jhpyle/docassemble/issues/8","id":196767134,"number":8,"title":"Changes to module not reflected in new interview?","user":{"login":"cediorio","id":663305,"avatar_url":"https://avatars.githubusercontent.com/u/663305?v=3","gravatar_id":"","url":"https://api.github.com/users/cediorio","html_url":"https://github.com/cediorio","followers_url":"https://api.github.com/users/cediorio/followers","following_url":"https://api.github.com/users/cediorio/following{/other_user}","gists_url":"https://api.github.com/users/cediorio/gists{/gist_id}","starred_url":"https://api.github.com/users/cediorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cediorio/subscriptions","organizations_url":"https://api.github.com/users/cediorio/orgs","repos_url":"https://api.github.com/users/cediorio/repos","events_url":"https://api.github.com/users/cediorio/events{/privacy}","received_events_url":"https://api.github.com/users/cediorio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-20T20:03:22Z","updated_at":"2016-12-31T15:59:39Z","closed_at":"2016-12-31T15:59:39Z","body":"I create a simple interview with an \"objects.py\" module with a very simple method that I call in a template, as follows:\r\n```\r\nfrom docassemble.base.core import DAObject\r\n\r\nclass Plan(DAObject):\r\n    def summary(self):\r\n        return \"# Plan Terms\\n\\n\" + self.name \r\n```\r\nIf I run this (I have interview questions that query for name), I see the results I expect. \r\n\r\nNow, I change the module method to include a bogus Plan property, say, \"self.instructions\", like so:\r\n```\r\n    def summary(self):\r\n        return \"# Plan Terms\\n\\n\" + self.name + self.instructions\r\n```\r\nWhen I save this change, I get a message that the system is restarting. However, when I run the interview again, I get no error. If I restart the server, I get the error. Doesn't look like the restart is actually reloading the changes to the module.\r\n\r\nHappy to help with any further info.\r\n\r\nBTW, this is an amazing project. Very impressed."}}
{"actor":{"display_login":"jhpyle"}}