{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-python/graphene/issues/39","labels_url":"https://api.github.com/repos/graphql-python/graphene/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/graphql-python/graphene/issues/39/comments","events_url":"https://api.github.com/repos/graphql-python/graphene/issues/39/events","html_url":"https://github.com/graphql-python/graphene/pull/39","id":117938809,"number":39,"title":"Example of querying a Python object","user":{"login":"amitsaha","id":512598,"avatar_url":"https://avatars.githubusercontent.com/u/512598?v=3","gravatar_id":"","url":"https://api.github.com/users/amitsaha","html_url":"https://github.com/amitsaha","followers_url":"https://api.github.com/users/amitsaha/followers","following_url":"https://api.github.com/users/amitsaha/following{/other_user}","gists_url":"https://api.github.com/users/amitsaha/gists{/gist_id}","starred_url":"https://api.github.com/users/amitsaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitsaha/subscriptions","organizations_url":"https://api.github.com/users/amitsaha/orgs","repos_url":"https://api.github.com/users/amitsaha/repos","events_url":"https://api.github.com/users/amitsaha/events{/privacy}","received_events_url":"https://api.github.com/users/amitsaha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-20T00:18:32Z","updated_at":"2015-11-20T03:06:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphql-python/graphene/pulls/39","html_url":"https://github.com/graphql-python/graphene/pull/39","diff_url":"https://github.com/graphql-python/graphene/pull/39.diff","patch_url":"https://github.com/graphql-python/graphene/pull/39.patch"},"body":"While getting started, I did not find a simple example of what I wanted to do here - query a Python object type and not a scalar field. Hopefully this is a good addition."},"comment":{"url":"https://api.github.com/repos/graphql-python/graphene/issues/comments/158265905","html_url":"https://github.com/graphql-python/graphene/pull/39#issuecomment-158265905","issue_url":"https://api.github.com/repos/graphql-python/graphene/issues/39","id":158265905,"user":{"login":"amitsaha","id":512598,"avatar_url":"https://avatars.githubusercontent.com/u/512598?v=3","gravatar_id":"","url":"https://api.github.com/users/amitsaha","html_url":"https://github.com/amitsaha","followers_url":"https://api.github.com/users/amitsaha/followers","following_url":"https://api.github.com/users/amitsaha/following{/other_user}","gists_url":"https://api.github.com/users/amitsaha/gists{/gist_id}","starred_url":"https://api.github.com/users/amitsaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitsaha/subscriptions","organizations_url":"https://api.github.com/users/amitsaha/orgs","repos_url":"https://api.github.com/users/amitsaha/repos","events_url":"https://api.github.com/users/amitsaha/events{/privacy}","received_events_url":"https://api.github.com/users/amitsaha/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T03:06:28Z","updated_at":"2015-11-20T03:06:28Z","body":"@syrusakbary related question, is *this* the simplest way to do this? Do I have always have to define an interface and then subclass it ? Can't I use a simple class instead as a field?"}}