{"action":"opened","number":288,"pull_request":{"url":"https://api.github.com/repos/dronekit/dronekit-python/pulls/288","id":42428520,"html_url":"https://github.com/dronekit/dronekit-python/pull/288","diff_url":"https://github.com/dronekit/dronekit-python/pull/288.diff","patch_url":"https://github.com/dronekit/dronekit-python/pull/288.patch","issue_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/288","number":288,"state":"open","locked":false,"title":"Tmp modecompare 278","user":{"login":"hamishwillee","id":5368500,"avatar_url":"https://avatars.githubusercontent.com/u/5368500?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishwillee","html_url":"https://github.com/hamishwillee","followers_url":"https://api.github.com/users/hamishwillee/followers","following_url":"https://api.github.com/users/hamishwillee/following{/other_user}","gists_url":"https://api.github.com/users/hamishwillee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishwillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishwillee/subscriptions","organizations_url":"https://api.github.com/users/hamishwillee/orgs","repos_url":"https://api.github.com/users/hamishwillee/repos","events_url":"https://api.github.com/users/hamishwillee/events{/privacy}","received_events_url":"https://api.github.com/users/hamishwillee/received_events","type":"User","site_admin":false},"body":"Add explicit text that you need to compare against **Vehicle.mode.name** (ie you can't compare ``Vehicle.mode == VehicleMode('GUIDED')`` ). You can however compare ``Vehicle.mode.name == VehicleMode('GUIDED').name``\r\n\r\nI've put this in the API reference for the Mode because we don't have a better place. I made a conscious decision to not document attributes separately in the guide, but instead to put documentation in the class (if there is one) and the Vehicle attribute itself if there isn't an associated class. ","created_at":"2015-08-14T06:51:00Z","updated_at":"2015-08-14T06:51:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dronekit/dronekit-python/pulls/288/commits","review_comments_url":"https://api.github.com/repos/dronekit/dronekit-python/pulls/288/comments","review_comment_url":"https://api.github.com/repos/dronekit/dronekit-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/288/comments","statuses_url":"https://api.github.com/repos/dronekit/dronekit-python/statuses/df29d4bbcb7553bfa3c79cd7fc101b4f7fa234c9","head":{"label":"hamishwillee:tmp_modecompare_278","ref":"tmp_modecompare_278","sha":"df29d4bbcb7553bfa3c79cd7fc101b4f7fa234c9","user":{"login":"hamishwillee","id":5368500,"avatar_url":"https://avatars.githubusercontent.com/u/5368500?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishwillee","html_url":"https://github.com/hamishwillee","followers_url":"https://api.github.com/users/hamishwillee/followers","following_url":"https://api.github.com/users/hamishwillee/following{/other_user}","gists_url":"https://api.github.com/users/hamishwillee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishwillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishwillee/subscriptions","organizations_url":"https://api.github.com/users/hamishwillee/orgs","repos_url":"https://api.github.com/users/hamishwillee/repos","events_url":"https://api.github.com/users/hamishwillee/events{/privacy}","received_events_url":"https://api.github.com/users/hamishwillee/received_events","type":"User","site_admin":false},"repo":{"id":33153503,"name":"dronekit-python","full_name":"hamishwillee/dronekit-python","owner":{"login":"hamishwillee","id":5368500,"avatar_url":"https://avatars.githubusercontent.com/u/5368500?v=3","gravatar_id":"","url":"https://api.github.com/users/hamishwillee","html_url":"https://github.com/hamishwillee","followers_url":"https://api.github.com/users/hamishwillee/followers","following_url":"https://api.github.com/users/hamishwillee/following{/other_user}","gists_url":"https://api.github.com/users/hamishwillee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamishwillee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamishwillee/subscriptions","organizations_url":"https://api.github.com/users/hamishwillee/orgs","repos_url":"https://api.github.com/users/hamishwillee/repos","events_url":"https://api.github.com/users/hamishwillee/events{/privacy}","received_events_url":"https://api.github.com/users/hamishwillee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hamishwillee/dronekit-python","description":"The python language bindings and mavproxy module for the drone API","fork":true,"url":"https://api.github.com/repos/hamishwillee/dronekit-python","forks_url":"https://api.github.com/repos/hamishwillee/dronekit-python/forks","keys_url":"https://api.github.com/repos/hamishwillee/dronekit-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hamishwillee/dronekit-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hamishwillee/dronekit-python/teams","hooks_url":"https://api.github.com/repos/hamishwillee/dronekit-python/hooks","issue_events_url":"https://api.github.com/repos/hamishwillee/dronekit-python/issues/events{/number}","events_url":"https://api.github.com/repos/hamishwillee/dronekit-python/events","assignees_url":"https://api.github.com/repos/hamishwillee/dronekit-python/assignees{/user}","branches_url":"https://api.github.com/repos/hamishwillee/dronekit-python/branches{/branch}","tags_url":"https://api.github.com/repos/hamishwillee/dronekit-python/tags","blobs_url":"https://api.github.com/repos/hamishwillee/dronekit-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hamishwillee/dronekit-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hamishwillee/dronekit-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/hamishwillee/dronekit-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hamishwillee/dronekit-python/statuses/{sha}","languages_url":"https://api.github.com/repos/hamishwillee/dronekit-python/languages","stargazers_url":"https://api.github.com/repos/hamishwillee/dronekit-python/stargazers","contributors_url":"https://api.github.com/repos/hamishwillee/dronekit-python/contributors","subscribers_url":"https://api.github.com/repos/hamishwillee/dronekit-python/subscribers","subscription_url":"https://api.github.com/repos/hamishwillee/dronekit-python/subscription","commits_url":"https://api.github.com/repos/hamishwillee/dronekit-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/hamishwillee/dronekit-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/hamishwillee/dronekit-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/hamishwillee/dronekit-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/hamishwillee/dronekit-python/contents/{+path}","compare_url":"https://api.github.com/repos/hamishwillee/dronekit-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hamishwillee/dronekit-python/merges","archive_url":"https://api.github.com/repos/hamishwillee/dronekit-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hamishwillee/dronekit-python/downloads","issues_url":"https://api.github.com/repos/hamishwillee/dronekit-python/issues{/number}","pulls_url":"https://api.github.com/repos/hamishwillee/dronekit-python/pulls{/number}","milestones_url":"https://api.github.com/repos/hamishwillee/dronekit-python/milestones{/number}","notifications_url":"https://api.github.com/repos/hamishwillee/dronekit-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hamishwillee/dronekit-python/labels{/name}","releases_url":"https://api.github.com/repos/hamishwillee/dronekit-python/releases{/id}","created_at":"2015-03-30T23:19:28Z","updated_at":"2015-05-07T03:08:17Z","pushed_at":"2015-08-14T06:46:44Z","git_url":"git://github.com/hamishwillee/dronekit-python.git","ssh_url":"git@github.com:hamishwillee/dronekit-python.git","clone_url":"https://github.com/hamishwillee/dronekit-python.git","svn_url":"https://github.com/hamishwillee/dronekit-python","homepage":null,"size":2655,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dronekit:master","ref":"master","sha":"4006dc0d845a365a5c905cd29f2d48bf9d94131f","user":{"login":"dronekit","id":12973369,"avatar_url":"https://avatars.githubusercontent.com/u/12973369?v=3","gravatar_id":"","url":"https://api.github.com/users/dronekit","html_url":"https://github.com/dronekit","followers_url":"https://api.github.com/users/dronekit/followers","following_url":"https://api.github.com/users/dronekit/following{/other_user}","gists_url":"https://api.github.com/users/dronekit/gists{/gist_id}","starred_url":"https://api.github.com/users/dronekit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dronekit/subscriptions","organizations_url":"https://api.github.com/users/dronekit/orgs","repos_url":"https://api.github.com/users/dronekit/repos","events_url":"https://api.github.com/users/dronekit/events{/privacy}","received_events_url":"https://api.github.com/users/dronekit/received_events","type":"Organization","site_admin":false},"repo":{"id":18188537,"name":"dronekit-python","full_name":"dronekit/dronekit-python","owner":{"login":"dronekit","id":12973369,"avatar_url":"https://avatars.githubusercontent.com/u/12973369?v=3","gravatar_id":"","url":"https://api.github.com/users/dronekit","html_url":"https://github.com/dronekit","followers_url":"https://api.github.com/users/dronekit/followers","following_url":"https://api.github.com/users/dronekit/following{/other_user}","gists_url":"https://api.github.com/users/dronekit/gists{/gist_id}","starred_url":"https://api.github.com/users/dronekit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dronekit/subscriptions","organizations_url":"https://api.github.com/users/dronekit/orgs","repos_url":"https://api.github.com/users/dronekit/repos","events_url":"https://api.github.com/users/dronekit/events{/privacy}","received_events_url":"https://api.github.com/users/dronekit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dronekit/dronekit-python","description":"The python language bindings and mavproxy module for DroneKit","fork":false,"url":"https://api.github.com/repos/dronekit/dronekit-python","forks_url":"https://api.github.com/repos/dronekit/dronekit-python/forks","keys_url":"https://api.github.com/repos/dronekit/dronekit-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dronekit/dronekit-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dronekit/dronekit-python/teams","hooks_url":"https://api.github.com/repos/dronekit/dronekit-python/hooks","issue_events_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/events{/number}","events_url":"https://api.github.com/repos/dronekit/dronekit-python/events","assignees_url":"https://api.github.com/repos/dronekit/dronekit-python/assignees{/user}","branches_url":"https://api.github.com/repos/dronekit/dronekit-python/branches{/branch}","tags_url":"https://api.github.com/repos/dronekit/dronekit-python/tags","blobs_url":"https://api.github.com/repos/dronekit/dronekit-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dronekit/dronekit-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dronekit/dronekit-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/dronekit/dronekit-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dronekit/dronekit-python/statuses/{sha}","languages_url":"https://api.github.com/repos/dronekit/dronekit-python/languages","stargazers_url":"https://api.github.com/repos/dronekit/dronekit-python/stargazers","contributors_url":"https://api.github.com/repos/dronekit/dronekit-python/contributors","subscribers_url":"https://api.github.com/repos/dronekit/dronekit-python/subscribers","subscription_url":"https://api.github.com/repos/dronekit/dronekit-python/subscription","commits_url":"https://api.github.com/repos/dronekit/dronekit-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/dronekit/dronekit-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/dronekit/dronekit-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/dronekit/dronekit-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/dronekit/dronekit-python/contents/{+path}","compare_url":"https://api.github.com/repos/dronekit/dronekit-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dronekit/dronekit-python/merges","archive_url":"https://api.github.com/repos/dronekit/dronekit-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dronekit/dronekit-python/downloads","issues_url":"https://api.github.com/repos/dronekit/dronekit-python/issues{/number}","pulls_url":"https://api.github.com/repos/dronekit/dronekit-python/pulls{/number}","milestones_url":"https://api.github.com/repos/dronekit/dronekit-python/milestones{/number}","notifications_url":"https://api.github.com/repos/dronekit/dronekit-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dronekit/dronekit-python/labels{/name}","releases_url":"https://api.github.com/repos/dronekit/dronekit-python/releases{/id}","created_at":"2014-03-27T19:28:36Z","updated_at":"2015-08-07T23:00:39Z","pushed_at":"2015-08-14T05:23:15Z","git_url":"git://github.com/dronekit/dronekit-python.git","ssh_url":"git@github.com:dronekit/dronekit-python.git","clone_url":"https://github.com/dronekit/dronekit-python.git","svn_url":"https://github.com/dronekit/dronekit-python","homepage":"","size":4105,"stargazers_count":73,"watchers_count":73,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":94,"forks":55,"open_issues":94,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dronekit/dronekit-python/pulls/288"},"html":{"href":"https://github.com/dronekit/dronekit-python/pull/288"},"issue":{"href":"https://api.github.com/repos/dronekit/dronekit-python/issues/288"},"comments":{"href":"https://api.github.com/repos/dronekit/dronekit-python/issues/288/comments"},"review_comments":{"href":"https://api.github.com/repos/dronekit/dronekit-python/pulls/288/comments"},"review_comment":{"href":"https://api.github.com/repos/dronekit/dronekit-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dronekit/dronekit-python/pulls/288/commits"},"statuses":{"href":"https://api.github.com/repos/dronekit/dronekit-python/statuses/df29d4bbcb7553bfa3c79cd7fc101b4f7fa234c9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":0,"changed_files":1}}