{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/issues/79","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/issues/79/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/issues/79/events","html_url":"https://github.com/elasticsearch/elasticsearch-dsl-py/issues/79","id":58497244,"number":79,"title":"Calling my_mapping.properties raises AttributeError","user":{"login":"njoannin","id":3947618,"avatar_url":"https://avatars.githubusercontent.com/u/3947618?v=3","gravatar_id":"","url":"https://api.github.com/users/njoannin","html_url":"https://github.com/njoannin","followers_url":"https://api.github.com/users/njoannin/followers","following_url":"https://api.github.com/users/njoannin/following{/other_user}","gists_url":"https://api.github.com/users/njoannin/gists{/gist_id}","starred_url":"https://api.github.com/users/njoannin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njoannin/subscriptions","organizations_url":"https://api.github.com/users/njoannin/orgs","repos_url":"https://api.github.com/users/njoannin/repos","events_url":"https://api.github.com/users/njoannin/events{/privacy}","received_events_url":"https://api.github.com/users/njoannin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"HonzaKral","id":32132,"avatar_url":"https://avatars.githubusercontent.com/u/32132?v=3","gravatar_id":"","url":"https://api.github.com/users/HonzaKral","html_url":"https://github.com/HonzaKral","followers_url":"https://api.github.com/users/HonzaKral/followers","following_url":"https://api.github.com/users/HonzaKral/following{/other_user}","gists_url":"https://api.github.com/users/HonzaKral/gists{/gist_id}","starred_url":"https://api.github.com/users/HonzaKral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HonzaKral/subscriptions","organizations_url":"https://api.github.com/users/HonzaKral/orgs","repos_url":"https://api.github.com/users/HonzaKral/repos","events_url":"https://api.github.com/users/HonzaKral/events{/privacy}","received_events_url":"https://api.github.com/users/HonzaKral/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-02-22T09:54:31Z","updated_at":"2015-02-22T19:19:22Z","closed_at":null,"body":"I fetched a mapping from es.\r\nWhen wanting to look at my_mapping.properties, I got the following error:\r\n\r\n```\r\n>>> type(my_mapping.properties)\r\n<class 'elasticsearch_dsl.mapping.Properties'>\r\n>>> my_mapping.properties\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/path/to/my_python/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py\", line 205, in __repr__\r\n  File \"/path/to/my_python/flask/lib/python3.3/site-packages/elasticsearch_dsl-0.0.4.dev0-py3.3.egg/elasticsearch_dsl/utils.py\", line 240, in __getattr__\r\nAttributeError: 'Properties' object has no attribute '_type_shortcut'\r\n```\r\n\r\nIs this the expected behaviour?\r\n\r\nMy intention was to look into individual field mappings. But so far, I can't figure out how to do so... Is there a way to do so?\r\n\r\nAlso, the ```\r\nmy_mapping.properties.to_dict()```\r\n gives the same result as ```\r\nmy_mapping.to_dict()```. Is that intended to be so?\r\n\r\nUsing elasticsearch-dsl-py version 0.0.4 beta"},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/issues/comments/75452158","html_url":"https://github.com/elasticsearch/elasticsearch-dsl-py/issues/79#issuecomment-75452158","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch-dsl-py/issues/79","id":75452158,"user":{"login":"njoannin","id":3947618,"avatar_url":"https://avatars.githubusercontent.com/u/3947618?v=3","gravatar_id":"","url":"https://api.github.com/users/njoannin","html_url":"https://github.com/njoannin","followers_url":"https://api.github.com/users/njoannin/followers","following_url":"https://api.github.com/users/njoannin/following{/other_user}","gists_url":"https://api.github.com/users/njoannin/gists{/gist_id}","starred_url":"https://api.github.com/users/njoannin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njoannin/subscriptions","organizations_url":"https://api.github.com/users/njoannin/orgs","repos_url":"https://api.github.com/users/njoannin/repos","events_url":"https://api.github.com/users/njoannin/events{/privacy}","received_events_url":"https://api.github.com/users/njoannin/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T19:19:22Z","updated_at":"2015-02-22T19:19:22Z","body":"OK, thanks for the info!"}}