{"action":"created","issue":{"url":"https://api.github.com/repos/pywr/pywr/issues/258","repository_url":"https://api.github.com/repos/pywr/pywr","labels_url":"https://api.github.com/repos/pywr/pywr/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/pywr/pywr/issues/258/comments","events_url":"https://api.github.com/repos/pywr/pywr/issues/258/events","html_url":"https://github.com/pywr/pywr/issues/258","id":178464802,"number":258,"title":"Provide a mechanism to retrieve variable values from Parameters","user":{"login":"jetuk","id":4604654,"avatar_url":"https://avatars.githubusercontent.com/u/4604654?v=3","gravatar_id":"","url":"https://api.github.com/users/jetuk","html_url":"https://github.com/jetuk","followers_url":"https://api.github.com/users/jetuk/followers","following_url":"https://api.github.com/users/jetuk/following{/other_user}","gists_url":"https://api.github.com/users/jetuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jetuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetuk/subscriptions","organizations_url":"https://api.github.com/users/jetuk/orgs","repos_url":"https://api.github.com/users/jetuk/repos","events_url":"https://api.github.com/users/jetuk/events{/privacy}","received_events_url":"https://api.github.com/users/jetuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-21T21:17:57Z","updated_at":"2016-12-05T13:10:08Z","closed_at":null,"body":"Currently it is possible to use `Parameter.update` with an array of values to update during an optimisation. However there is no methods to retrieve those values in a generic way. Should we implement that? E.g. `Parameter.variables()` though I'm not sure about the name?\n"},"comment":{"url":"https://api.github.com/repos/pywr/pywr/issues/comments/264849946","html_url":"https://github.com/pywr/pywr/issues/258#issuecomment-264849946","issue_url":"https://api.github.com/repos/pywr/pywr/issues/258","id":264849946,"user":{"login":"jetuk","id":4604654,"avatar_url":"https://avatars.githubusercontent.com/u/4604654?v=3","gravatar_id":"","url":"https://api.github.com/users/jetuk","html_url":"https://github.com/jetuk","followers_url":"https://api.github.com/users/jetuk/followers","following_url":"https://api.github.com/users/jetuk/following{/other_user}","gists_url":"https://api.github.com/users/jetuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jetuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetuk/subscriptions","organizations_url":"https://api.github.com/users/jetuk/orgs","repos_url":"https://api.github.com/users/jetuk/repos","events_url":"https://api.github.com/users/jetuk/events{/privacy}","received_events_url":"https://api.github.com/users/jetuk/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T13:10:08Z","updated_at":"2016-12-05T13:10:08Z","body":"I started this at the weekend. I've gone for\r\n\r\nClass attribute:\r\n```\r\nParameter.__can_be_variable__\r\n```\r\n\r\nFor real variables I have used,\r\n```\r\nParameter.size\r\nParameter.get_variables()\r\nParameter.set_variables()\r\n```\r\n\r\nFor integers I propose,\r\n\r\n```\r\nParameter.integer_size\r\nParameter.get_integer_variables()\r\nParameter.set_integer_variables()\r\n```\r\n\r\n"}}
{"actor":{"display_login":"jetuk"}}