{"action":"closed","number":77,"pull_request":{"url":"https://api.github.com/repos/vmalloc/mongomock/pulls/77","id":11142541,"html_url":"https://github.com/vmalloc/mongomock/pull/77","diff_url":"https://github.com/vmalloc/mongomock/pull/77.diff","patch_url":"https://github.com/vmalloc/mongomock/pull/77.patch","issue_url":"https://api.github.com/repos/vmalloc/mongomock/issues/77","number":77,"state":"closed","locked":false,"title":"Added **kwargs to Collection.find method in order to allow MongoEngine t...","user":{"login":"castarco","id":251364,"avatar_url":"https://avatars.githubusercontent.com/u/251364?v=3","gravatar_id":"","url":"https://api.github.com/users/castarco","html_url":"https://github.com/castarco","followers_url":"https://api.github.com/users/castarco/followers","following_url":"https://api.github.com/users/castarco/following{/other_user}","gists_url":"https://api.github.com/users/castarco/gists{/gist_id}","starred_url":"https://api.github.com/users/castarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castarco/subscriptions","organizations_url":"https://api.github.com/users/castarco/orgs","repos_url":"https://api.github.com/users/castarco/repos","events_url":"https://api.github.com/users/castarco/events{/privacy}","received_events_url":"https://api.github.com/users/castarco/received_events","type":"User","site_admin":false},"body":"Added **kwargs to Collection.find method in order to allow MongoEngine to use MongoMock instead of PyMongo.\r\n\r\nThis change don't break anything, but allows MongoEngine to use MongoMock instead of PyMongo (MongoEngine also requires minor changes that I'm also pull requesting to their repository).\r\n\r\nI've added **kwargs as a \"general\" solution, but the problem I was trying to solve was the need of the parameter slaves_okay .\r\n\r\nI'm open to any suggestion to achieve the same result if this change don't seems to you OK.\r\n\r\nThanks for your attention :) .","created_at":"2013-12-30T15:58:46Z","updated_at":"2015-09-04T21:46:55Z","closed_at":"2015-09-04T21:46:55Z","merged_at":null,"merge_commit_sha":"4a45bf706e9446d1bf79732e14beb34e7a4eb801","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vmalloc/mongomock/pulls/77/commits","review_comments_url":"https://api.github.com/repos/vmalloc/mongomock/pulls/77/comments","review_comment_url":"https://api.github.com/repos/vmalloc/mongomock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmalloc/mongomock/issues/77/comments","statuses_url":"https://api.github.com/repos/vmalloc/mongomock/statuses/10a191a72962eae2915b734f8fd5fe89035b47c3","head":{"label":"castarco:master","ref":"master","sha":"10a191a72962eae2915b734f8fd5fe89035b47c3","user":{"login":"castarco","id":251364,"avatar_url":"https://avatars.githubusercontent.com/u/251364?v=3","gravatar_id":"","url":"https://api.github.com/users/castarco","html_url":"https://github.com/castarco","followers_url":"https://api.github.com/users/castarco/followers","following_url":"https://api.github.com/users/castarco/following{/other_user}","gists_url":"https://api.github.com/users/castarco/gists{/gist_id}","starred_url":"https://api.github.com/users/castarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castarco/subscriptions","organizations_url":"https://api.github.com/users/castarco/orgs","repos_url":"https://api.github.com/users/castarco/repos","events_url":"https://api.github.com/users/castarco/events{/privacy}","received_events_url":"https://api.github.com/users/castarco/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"vmalloc:master","ref":"master","sha":"6725eecb176d70f138745097bc9e19ea9176b2c7","user":{"login":"vmalloc","id":28710,"avatar_url":"https://avatars.githubusercontent.com/u/28710?v=3","gravatar_id":"","url":"https://api.github.com/users/vmalloc","html_url":"https://github.com/vmalloc","followers_url":"https://api.github.com/users/vmalloc/followers","following_url":"https://api.github.com/users/vmalloc/following{/other_user}","gists_url":"https://api.github.com/users/vmalloc/gists{/gist_id}","starred_url":"https://api.github.com/users/vmalloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmalloc/subscriptions","organizations_url":"https://api.github.com/users/vmalloc/orgs","repos_url":"https://api.github.com/users/vmalloc/repos","events_url":"https://api.github.com/users/vmalloc/events{/privacy}","received_events_url":"https://api.github.com/users/vmalloc/received_events","type":"User","site_admin":false},"repo":{"id":3722168,"name":"mongomock","full_name":"vmalloc/mongomock","owner":{"login":"vmalloc","id":28710,"avatar_url":"https://avatars.githubusercontent.com/u/28710?v=3","gravatar_id":"","url":"https://api.github.com/users/vmalloc","html_url":"https://github.com/vmalloc","followers_url":"https://api.github.com/users/vmalloc/followers","following_url":"https://api.github.com/users/vmalloc/following{/other_user}","gists_url":"https://api.github.com/users/vmalloc/gists{/gist_id}","starred_url":"https://api.github.com/users/vmalloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmalloc/subscriptions","organizations_url":"https://api.github.com/users/vmalloc/orgs","repos_url":"https://api.github.com/users/vmalloc/repos","events_url":"https://api.github.com/users/vmalloc/events{/privacy}","received_events_url":"https://api.github.com/users/vmalloc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vmalloc/mongomock","description":"Small library for mocking pymongo collection objects for testing purposes","fork":false,"url":"https://api.github.com/repos/vmalloc/mongomock","forks_url":"https://api.github.com/repos/vmalloc/mongomock/forks","keys_url":"https://api.github.com/repos/vmalloc/mongomock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmalloc/mongomock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmalloc/mongomock/teams","hooks_url":"https://api.github.com/repos/vmalloc/mongomock/hooks","issue_events_url":"https://api.github.com/repos/vmalloc/mongomock/issues/events{/number}","events_url":"https://api.github.com/repos/vmalloc/mongomock/events","assignees_url":"https://api.github.com/repos/vmalloc/mongomock/assignees{/user}","branches_url":"https://api.github.com/repos/vmalloc/mongomock/branches{/branch}","tags_url":"https://api.github.com/repos/vmalloc/mongomock/tags","blobs_url":"https://api.github.com/repos/vmalloc/mongomock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmalloc/mongomock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmalloc/mongomock/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmalloc/mongomock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmalloc/mongomock/statuses/{sha}","languages_url":"https://api.github.com/repos/vmalloc/mongomock/languages","stargazers_url":"https://api.github.com/repos/vmalloc/mongomock/stargazers","contributors_url":"https://api.github.com/repos/vmalloc/mongomock/contributors","subscribers_url":"https://api.github.com/repos/vmalloc/mongomock/subscribers","subscription_url":"https://api.github.com/repos/vmalloc/mongomock/subscription","commits_url":"https://api.github.com/repos/vmalloc/mongomock/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmalloc/mongomock/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmalloc/mongomock/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmalloc/mongomock/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmalloc/mongomock/contents/{+path}","compare_url":"https://api.github.com/repos/vmalloc/mongomock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmalloc/mongomock/merges","archive_url":"https://api.github.com/repos/vmalloc/mongomock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmalloc/mongomock/downloads","issues_url":"https://api.github.com/repos/vmalloc/mongomock/issues{/number}","pulls_url":"https://api.github.com/repos/vmalloc/mongomock/pulls{/number}","milestones_url":"https://api.github.com/repos/vmalloc/mongomock/milestones{/number}","notifications_url":"https://api.github.com/repos/vmalloc/mongomock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmalloc/mongomock/labels{/name}","releases_url":"https://api.github.com/repos/vmalloc/mongomock/releases{/id}","created_at":"2012-03-14T20:50:21Z","updated_at":"2015-08-26T10:10:16Z","pushed_at":"2015-09-04T21:34:51Z","git_url":"git://github.com/vmalloc/mongomock.git","ssh_url":"git@github.com:vmalloc/mongomock.git","clone_url":"https://github.com/vmalloc/mongomock.git","svn_url":"https://github.com/vmalloc/mongomock","homepage":"","size":1855,"stargazers_count":124,"watchers_count":124,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":83,"mirror_url":null,"open_issues_count":22,"forks":83,"open_issues":22,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmalloc/mongomock/pulls/77"},"html":{"href":"https://github.com/vmalloc/mongomock/pull/77"},"issue":{"href":"https://api.github.com/repos/vmalloc/mongomock/issues/77"},"comments":{"href":"https://api.github.com/repos/vmalloc/mongomock/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/vmalloc/mongomock/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/vmalloc/mongomock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmalloc/mongomock/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/vmalloc/mongomock/statuses/10a191a72962eae2915b734f8fd5fe89035b47c3"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":0,"commits":3,"additions":3,"deletions":3,"changed_files":1}}