{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/6e371a8dc33bab091186df97ddb081c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6e371a8dc33bab091186df97ddb081c1","url":"https://api.github.com/users/namlook","login":"namlook","id":86238},"milestone":null,"assignee":null,"updated_at":"2011-11-11T02:32:33Z","labels":[{"name":"enhancement","color":"8fffd6","url":"https://api.github.com/repos/namlook/mongokit/labels/enhancement"}],"closed_at":null,"comments":7,"url":"https://api.github.com/repos/namlook/mongokit/issues/62","body":"```python\r\n@connection.register\r\nclass Reply(Document):\r\n       __collection__  = config.collection_name.Reply\r\n       __database__    = config.classify_database\r\n       structure = {\r\n           \"topic_id\"              :pymongo.objectid.ObjectId,\r\n           \"author\"                :Member,\r\n           \"create_time\"           :datetime.datetime,\r\n           \"content\"               :basestring,\r\n           \"content_length\"        :int\r\n        }\r\n       use_dot_notation        =       True\r\n       use_autorefs            =       True\r\n\r\nk = connection.Reply.find().limit(1)\r\nk[0].create_time # AttributeError: 'dict' object has no attribute 'create_time'\r\n\r\nk[0][\"create_time\"] # no problem.\r\n```","html_url":"https://github.com/namlook/mongokit/issues/62","title":"cursor can't use dot notaion","number":62,"id":1613614,"created_at":"2011-09-10T09:16:06Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/6e975490cf2efb6a508b57bbbab43ffe?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6e975490cf2efb6a508b57bbbab43ffe","url":"https://api.github.com/users/ultimatebuster","login":"ultimatebuster","id":338100},"updated_at":"2011-11-11T02:32:32Z","url":"https://api.github.com/repos/namlook/mongokit/issues/comments/2704234","body":"Huh. Looks like this can be closed as it seems to work fine. Oh well","id":2704234,"created_at":"2011-11-11T02:32:32Z"}}