{"action":"created","issue":{"url":"https://api.github.com/repos/cta-observatory/ctapipe/issues/501","repository_url":"https://api.github.com/repos/cta-observatory/ctapipe","labels_url":"https://api.github.com/repos/cta-observatory/ctapipe/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/cta-observatory/ctapipe/issues/501/comments","events_url":"https://api.github.com/repos/cta-observatory/ctapipe/issues/501/events","html_url":"https://github.com/cta-observatory/ctapipe/pull/501","id":255556401,"number":501,"title":"WIP: Implement first version of typed fields","user":{"login":"MaxNoe","id":5488440,"avatar_url":"https://avatars3.githubusercontent.com/u/5488440?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxNoe","html_url":"https://github.com/MaxNoe","followers_url":"https://api.github.com/users/MaxNoe/followers","following_url":"https://api.github.com/users/MaxNoe/following{/other_user}","gists_url":"https://api.github.com/users/MaxNoe/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxNoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxNoe/subscriptions","organizations_url":"https://api.github.com/users/MaxNoe/orgs","repos_url":"https://api.github.com/users/MaxNoe/repos","events_url":"https://api.github.com/users/MaxNoe/events{/privacy}","received_events_url":"https://api.github.com/users/MaxNoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-06T10:32:31Z","updated_at":"2017-09-06T14:14:55Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cta-observatory/ctapipe/pulls/501","html_url":"https://github.com/cta-observatory/ctapipe/pull/501","diff_url":"https://github.com/cta-observatory/ctapipe/pull/501.diff","patch_url":"https://github.com/cta-observatory/ctapipe/pull/501.patch"},"body":"Do not merge, this is WIP but I want to get Feedback early.\r\n\r\nThis is something that was already talked about. I started to implement typed fields, inspired by orm models for the containers.\r\n\r\nRight now there is\r\n* `Field` for arbitrary python objects\r\n* `ArrayField` for numpy arrays\r\n* `QuantityField` for astropy quantities\r\n* `TimeField` for astropy.time.Time\r\n\r\nThere need to be more Field types, name any you deem useful.\r\n\r\nI plan to rewrite `Map` so map is a `Map` of `Fields` and there should be a `SubContainerField` to have strictly typed `Map → Subcontainer` relations.\r\n\r\nThis will result in mostly statically typed Containers, which should make serialisation a lot easier."},"comment":{"url":"https://api.github.com/repos/cta-observatory/ctapipe/issues/comments/327496753","html_url":"https://github.com/cta-observatory/ctapipe/pull/501#issuecomment-327496753","issue_url":"https://api.github.com/repos/cta-observatory/ctapipe/issues/501","id":327496753,"user":{"login":"kosack","id":11677812,"avatar_url":"https://avatars2.githubusercontent.com/u/11677812?v=4","gravatar_id":"","url":"https://api.github.com/users/kosack","html_url":"https://github.com/kosack","followers_url":"https://api.github.com/users/kosack/followers","following_url":"https://api.github.com/users/kosack/following{/other_user}","gists_url":"https://api.github.com/users/kosack/gists{/gist_id}","starred_url":"https://api.github.com/users/kosack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosack/subscriptions","organizations_url":"https://api.github.com/users/kosack/orgs","repos_url":"https://api.github.com/users/kosack/repos","events_url":"https://api.github.com/users/kosack/events{/privacy}","received_events_url":"https://api.github.com/users/kosack/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T14:14:55Z","updated_at":"2017-09-06T14:14:55Z","author_association":"CONTRIBUTOR","body":"Thanks. Looks like a good start!"}}
{"actor":{"display_login":"kosack"}}