{"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/comments/15025344","html_url":"https://github.com/dimagi/commcare-hq/commit/37468db124a8f86414bd10ec5b7cf7a7ea34ee94#commitcomment-15025344","id":15025344,"user":{"login":"NoahCarnahan","id":2117127,"avatar_url":"https://avatars.githubusercontent.com/u/2117127?v=3","gravatar_id":"","url":"https://api.github.com/users/NoahCarnahan","html_url":"https://github.com/NoahCarnahan","followers_url":"https://api.github.com/users/NoahCarnahan/followers","following_url":"https://api.github.com/users/NoahCarnahan/following{/other_user}","gists_url":"https://api.github.com/users/NoahCarnahan/gists{/gist_id}","starred_url":"https://api.github.com/users/NoahCarnahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoahCarnahan/subscriptions","organizations_url":"https://api.github.com/users/NoahCarnahan/orgs","repos_url":"https://api.github.com/users/NoahCarnahan/repos","events_url":"https://api.github.com/users/NoahCarnahan/events{/privacy}","received_events_url":"https://api.github.com/users/NoahCarnahan/received_events","type":"User","site_admin":false},"position":6,"line":356,"path":"corehq/ex-submodules/casexml/apps/case/models.py","commit_id":"37468db124a8f86414bd10ec5b7cf7a7ea34ee94","created_at":"2015-12-16T20:19:53Z","updated_at":"2015-12-16T20:19:53Z","body":"Yeah, I often wonder what the best approach for this sort of thing is too. It's a downside of dynamic typing I guess. I think the two function approach (one which calls the other) you mention is generally a good one."}}