{"action":"closed","number":467,"pull_request":{"url":"https://api.github.com/repos/datastax/python-driver/pulls/467","id":58061856,"html_url":"https://github.com/datastax/python-driver/pull/467","diff_url":"https://github.com/datastax/python-driver/pull/467.diff","patch_url":"https://github.com/datastax/python-driver/pull/467.patch","issue_url":"https://api.github.com/repos/datastax/python-driver/issues/467","number":467,"state":"closed","locked":false,"title":"Fix: crash while working with UDTs","user":{"login":"reeteshranjan","id":5516599,"avatar_url":"https://avatars.githubusercontent.com/u/5516599?v=3","gravatar_id":"","url":"https://api.github.com/users/reeteshranjan","html_url":"https://github.com/reeteshranjan","followers_url":"https://api.github.com/users/reeteshranjan/followers","following_url":"https://api.github.com/users/reeteshranjan/following{/other_user}","gists_url":"https://api.github.com/users/reeteshranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/reeteshranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reeteshranjan/subscriptions","organizations_url":"https://api.github.com/users/reeteshranjan/orgs","repos_url":"https://api.github.com/users/reeteshranjan/repos","events_url":"https://api.github.com/users/reeteshranjan/events{/privacy}","received_events_url":"https://api.github.com/users/reeteshranjan/received_events","type":"User","site_admin":false},"body":"In some cases the ``value`` attribute is ``None``, and without checking we are accessing a method assuming it's a valid object. This fix helps achieving the desired functionality/outcome for such cases without breaking the intended logic.","created_at":"2016-02-02T22:36:39Z","updated_at":"2016-02-04T18:18:44Z","closed_at":"2016-02-04T18:18:44Z","merged_at":"2016-02-04T18:18:44Z","merge_commit_sha":"b8cdc87ba32ed12174c8f15c15e000d1ae936fb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/datastax/python-driver/pulls/467/commits","review_comments_url":"https://api.github.com/repos/datastax/python-driver/pulls/467/comments","review_comment_url":"https://api.github.com/repos/datastax/python-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datastax/python-driver/issues/467/comments","statuses_url":"https://api.github.com/repos/datastax/python-driver/statuses/817b50d67f15f2e9c967c1810c66351688f07204","head":{"label":"reeteshranjan:master","ref":"master","sha":"817b50d67f15f2e9c967c1810c66351688f07204","user":{"login":"reeteshranjan","id":5516599,"avatar_url":"https://avatars.githubusercontent.com/u/5516599?v=3","gravatar_id":"","url":"https://api.github.com/users/reeteshranjan","html_url":"https://github.com/reeteshranjan","followers_url":"https://api.github.com/users/reeteshranjan/followers","following_url":"https://api.github.com/users/reeteshranjan/following{/other_user}","gists_url":"https://api.github.com/users/reeteshranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/reeteshranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reeteshranjan/subscriptions","organizations_url":"https://api.github.com/users/reeteshranjan/orgs","repos_url":"https://api.github.com/users/reeteshranjan/repos","events_url":"https://api.github.com/users/reeteshranjan/events{/privacy}","received_events_url":"https://api.github.com/users/reeteshranjan/received_events","type":"User","site_admin":false},"repo":{"id":50955911,"name":"python-driver","full_name":"reeteshranjan/python-driver","owner":{"login":"reeteshranjan","id":5516599,"avatar_url":"https://avatars.githubusercontent.com/u/5516599?v=3","gravatar_id":"","url":"https://api.github.com/users/reeteshranjan","html_url":"https://github.com/reeteshranjan","followers_url":"https://api.github.com/users/reeteshranjan/followers","following_url":"https://api.github.com/users/reeteshranjan/following{/other_user}","gists_url":"https://api.github.com/users/reeteshranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/reeteshranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reeteshranjan/subscriptions","organizations_url":"https://api.github.com/users/reeteshranjan/orgs","repos_url":"https://api.github.com/users/reeteshranjan/repos","events_url":"https://api.github.com/users/reeteshranjan/events{/privacy}","received_events_url":"https://api.github.com/users/reeteshranjan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reeteshranjan/python-driver","description":"DataStax Python Driver for Apache Cassandra","fork":true,"url":"https://api.github.com/repos/reeteshranjan/python-driver","forks_url":"https://api.github.com/repos/reeteshranjan/python-driver/forks","keys_url":"https://api.github.com/repos/reeteshranjan/python-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reeteshranjan/python-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reeteshranjan/python-driver/teams","hooks_url":"https://api.github.com/repos/reeteshranjan/python-driver/hooks","issue_events_url":"https://api.github.com/repos/reeteshranjan/python-driver/issues/events{/number}","events_url":"https://api.github.com/repos/reeteshranjan/python-driver/events","assignees_url":"https://api.github.com/repos/reeteshranjan/python-driver/assignees{/user}","branches_url":"https://api.github.com/repos/reeteshranjan/python-driver/branches{/branch}","tags_url":"https://api.github.com/repos/reeteshranjan/python-driver/tags","blobs_url":"https://api.github.com/repos/reeteshranjan/python-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reeteshranjan/python-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reeteshranjan/python-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/reeteshranjan/python-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reeteshranjan/python-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/reeteshranjan/python-driver/languages","stargazers_url":"https://api.github.com/repos/reeteshranjan/python-driver/stargazers","contributors_url":"https://api.github.com/repos/reeteshranjan/python-driver/contributors","subscribers_url":"https://api.github.com/repos/reeteshranjan/python-driver/subscribers","subscription_url":"https://api.github.com/repos/reeteshranjan/python-driver/subscription","commits_url":"https://api.github.com/repos/reeteshranjan/python-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/reeteshranjan/python-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/reeteshranjan/python-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/reeteshranjan/python-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/reeteshranjan/python-driver/contents/{+path}","compare_url":"https://api.github.com/repos/reeteshranjan/python-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reeteshranjan/python-driver/merges","archive_url":"https://api.github.com/repos/reeteshranjan/python-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reeteshranjan/python-driver/downloads","issues_url":"https://api.github.com/repos/reeteshranjan/python-driver/issues{/number}","pulls_url":"https://api.github.com/repos/reeteshranjan/python-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/reeteshranjan/python-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/reeteshranjan/python-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reeteshranjan/python-driver/labels{/name}","releases_url":"https://api.github.com/repos/reeteshranjan/python-driver/releases{/id}","deployments_url":"https://api.github.com/repos/reeteshranjan/python-driver/deployments","created_at":"2016-02-02T22:16:56Z","updated_at":"2016-02-02T22:16:57Z","pushed_at":"2016-02-02T22:35:17Z","git_url":"git://github.com/reeteshranjan/python-driver.git","ssh_url":"git@github.com:reeteshranjan/python-driver.git","clone_url":"https://github.com/reeteshranjan/python-driver.git","svn_url":"https://github.com/reeteshranjan/python-driver","homepage":"","size":12491,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"datastax:master","ref":"master","sha":"05361b4e7c3814455170a228e49f9fe1259564d5","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":11262602,"name":"python-driver","full_name":"datastax/python-driver","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/python-driver","description":"DataStax Python Driver for Apache Cassandra","fork":false,"url":"https://api.github.com/repos/datastax/python-driver","forks_url":"https://api.github.com/repos/datastax/python-driver/forks","keys_url":"https://api.github.com/repos/datastax/python-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/python-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/python-driver/teams","hooks_url":"https://api.github.com/repos/datastax/python-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/python-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/python-driver/events","assignees_url":"https://api.github.com/repos/datastax/python-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/python-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/python-driver/tags","blobs_url":"https://api.github.com/repos/datastax/python-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/python-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/python-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/python-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/python-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/python-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/python-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/python-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/python-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/python-driver/subscription","commits_url":"https://api.github.com/repos/datastax/python-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/python-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/python-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/python-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/python-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/python-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/python-driver/merges","archive_url":"https://api.github.com/repos/datastax/python-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/python-driver/downloads","issues_url":"https://api.github.com/repos/datastax/python-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/python-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/python-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/python-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/python-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/python-driver/releases{/id}","deployments_url":"https://api.github.com/repos/datastax/python-driver/deployments","created_at":"2013-07-08T19:02:31Z","updated_at":"2016-02-02T17:02:16Z","pushed_at":"2016-02-04T18:18:44Z","git_url":"git://github.com/datastax/python-driver.git","ssh_url":"git@github.com:datastax/python-driver.git","clone_url":"https://github.com/datastax/python-driver.git","svn_url":"https://github.com/datastax/python-driver","homepage":"","size":14430,"stargazers_count":463,"watchers_count":463,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":217,"mirror_url":null,"open_issues_count":9,"forks":217,"open_issues":9,"watchers":463,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/467"},"html":{"href":"https://github.com/datastax/python-driver/pull/467"},"issue":{"href":"https://api.github.com/repos/datastax/python-driver/issues/467"},"comments":{"href":"https://api.github.com/repos/datastax/python-driver/issues/467/comments"},"review_comments":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/467/comments"},"review_comment":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datastax/python-driver/pulls/467/commits"},"statuses":{"href":"https://api.github.com/repos/datastax/python-driver/statuses/817b50d67f15f2e9c967c1810c66351688f07204"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aboudreault","id":532356,"avatar_url":"https://avatars.githubusercontent.com/u/532356?v=3","gravatar_id":"","url":"https://api.github.com/users/aboudreault","html_url":"https://github.com/aboudreault","followers_url":"https://api.github.com/users/aboudreault/followers","following_url":"https://api.github.com/users/aboudreault/following{/other_user}","gists_url":"https://api.github.com/users/aboudreault/gists{/gist_id}","starred_url":"https://api.github.com/users/aboudreault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aboudreault/subscriptions","organizations_url":"https://api.github.com/users/aboudreault/orgs","repos_url":"https://api.github.com/users/aboudreault/repos","events_url":"https://api.github.com/users/aboudreault/events{/privacy}","received_events_url":"https://api.github.com/users/aboudreault/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}