{"action":"closed","issue":{"url":"https://api.github.com/repos/mongodb-labs/python-bsonjs/issues/14","repository_url":"https://api.github.com/repos/mongodb-labs/python-bsonjs","labels_url":"https://api.github.com/repos/mongodb-labs/python-bsonjs/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/mongodb-labs/python-bsonjs/issues/14/comments","events_url":"https://api.github.com/repos/mongodb-labs/python-bsonjs/issues/14/events","html_url":"https://github.com/mongodb-labs/python-bsonjs/issues/14","id":382293748,"node_id":"MDU6SXNzdWUzODIyOTM3NDg=","number":14,"title":"insert_many not working","user":{"login":"dingding72","id":42749689,"node_id":"MDQ6VXNlcjQyNzQ5Njg5","avatar_url":"https://avatars2.githubusercontent.com/u/42749689?v=4","gravatar_id":"","url":"https://api.github.com/users/dingding72","html_url":"https://github.com/dingding72","followers_url":"https://api.github.com/users/dingding72/followers","following_url":"https://api.github.com/users/dingding72/following{/other_user}","gists_url":"https://api.github.com/users/dingding72/gists{/gist_id}","starred_url":"https://api.github.com/users/dingding72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dingding72/subscriptions","organizations_url":"https://api.github.com/users/dingding72/orgs","repos_url":"https://api.github.com/users/dingding72/repos","events_url":"https://api.github.com/users/dingding72/events{/privacy}","received_events_url":"https://api.github.com/users/dingding72/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-19T16:27:19Z","updated_at":"2018-11-20T03:55:29Z","closed_at":"2018-11-20T03:55:29Z","author_association":"NONE","body":"i was experimenting with bsonjs.  insert_one works fine, however when I tried insert_many, I got the following error msg: \"File \"C:\\ProgramData\\Anaconda2\\lib\\site-packages\\pymongo\\common.py\", line 453, in validate_is_document_type\r\n    \"collections.MutableMapping\" % (option,))\r\nTypeError: document must be an instance of dict, bson.son.SON, bson.raw_bson.RawBSONDocument, or a type that inherits from collections.MutableMapping\".  \r\n\r\nI casted \"rawBS1 = RawBSONDocument(bson_bytes)\" just the line before, and worked fine with insert_one.  "}}
{"actor":{"display_login":"dingding72"}}