{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/26","id":34253888,"html_url":"https://github.com/monetizeio/sqlalchemy-orm-tree/pull/26","diff_url":"https://github.com/monetizeio/sqlalchemy-orm-tree/pull/26.diff","patch_url":"https://github.com/monetizeio/sqlalchemy-orm-tree/pull/26.patch","issue_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues/26","number":26,"state":"closed","locked":false,"title":"Add a way to integrate with declarative models.","user":{"login":"miracle2k","id":13807,"avatar_url":"https://avatars.githubusercontent.com/u/13807?v=3","gravatar_id":"","url":"https://api.github.com/users/miracle2k","html_url":"https://github.com/miracle2k","followers_url":"https://api.github.com/users/miracle2k/followers","following_url":"https://api.github.com/users/miracle2k/following{/other_user}","gists_url":"https://api.github.com/users/miracle2k/gists{/gist_id}","starred_url":"https://api.github.com/users/miracle2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miracle2k/subscriptions","organizations_url":"https://api.github.com/users/miracle2k/orgs","repos_url":"https://api.github.com/users/miracle2k/repos","events_url":"https://api.github.com/users/miracle2k/events{/privacy}","received_events_url":"https://api.github.com/users/miracle2k/received_events","type":"User","site_admin":false},"body":"This essentially copies the approach from sqlamp. Should fix #3.","created_at":"2015-04-28T10:43:59Z","updated_at":"2015-05-23T12:34:16Z","closed_at":"2015-05-23T12:34:16Z","merged_at":"2015-05-23T12:34:16Z","merge_commit_sha":"22901104801b160af24a8bebfe0927fa3ac24645","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/26/commits","review_comments_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/26/comments","review_comment_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues/26/comments","statuses_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/statuses/b108abfd120603c7a9bd150a48260f20da3b8b99","head":{"label":"miracle2k:declarative","ref":"declarative","sha":"b108abfd120603c7a9bd150a48260f20da3b8b99","user":{"login":"miracle2k","id":13807,"avatar_url":"https://avatars.githubusercontent.com/u/13807?v=3","gravatar_id":"","url":"https://api.github.com/users/miracle2k","html_url":"https://github.com/miracle2k","followers_url":"https://api.github.com/users/miracle2k/followers","following_url":"https://api.github.com/users/miracle2k/following{/other_user}","gists_url":"https://api.github.com/users/miracle2k/gists{/gist_id}","starred_url":"https://api.github.com/users/miracle2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miracle2k/subscriptions","organizations_url":"https://api.github.com/users/miracle2k/orgs","repos_url":"https://api.github.com/users/miracle2k/repos","events_url":"https://api.github.com/users/miracle2k/events{/privacy}","received_events_url":"https://api.github.com/users/miracle2k/received_events","type":"User","site_admin":false},"repo":{"id":34724807,"name":"sqlalchemy-orm-tree","full_name":"miracle2k/sqlalchemy-orm-tree","owner":{"login":"miracle2k","id":13807,"avatar_url":"https://avatars.githubusercontent.com/u/13807?v=3","gravatar_id":"","url":"https://api.github.com/users/miracle2k","html_url":"https://github.com/miracle2k","followers_url":"https://api.github.com/users/miracle2k/followers","following_url":"https://api.github.com/users/miracle2k/following{/other_user}","gists_url":"https://api.github.com/users/miracle2k/gists{/gist_id}","starred_url":"https://api.github.com/users/miracle2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miracle2k/subscriptions","organizations_url":"https://api.github.com/users/miracle2k/orgs","repos_url":"https://api.github.com/users/miracle2k/repos","events_url":"https://api.github.com/users/miracle2k/events{/privacy}","received_events_url":"https://api.github.com/users/miracle2k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miracle2k/sqlalchemy-orm-tree","description":"An implementation for SQLAlchemy-based applications of the nested-sets/modified-pre-order-tree-traversal technique for storing hierarchical data in a relational database.","fork":true,"url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree","forks_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/forks","keys_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/teams","hooks_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/hooks","issue_events_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/issues/events{/number}","events_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/events","assignees_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/assignees{/user}","branches_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/branches{/branch}","tags_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/tags","blobs_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/languages","stargazers_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/stargazers","contributors_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/contributors","subscribers_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/subscribers","subscription_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/subscription","commits_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/contents/{+path}","compare_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/merges","archive_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/downloads","issues_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/issues{/number}","pulls_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/labels{/name}","releases_url":"https://api.github.com/repos/miracle2k/sqlalchemy-orm-tree/releases{/id}","created_at":"2015-04-28T10:43:39Z","updated_at":"2015-04-28T20:07:16Z","pushed_at":"2015-04-28T20:07:16Z","git_url":"git://github.com/miracle2k/sqlalchemy-orm-tree.git","ssh_url":"git@github.com:miracle2k/sqlalchemy-orm-tree.git","clone_url":"https://github.com/miracle2k/sqlalchemy-orm-tree.git","svn_url":"https://github.com/miracle2k/sqlalchemy-orm-tree","homepage":"","size":380,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"monetizeio:master","ref":"master","sha":"c0735f63d4b9884d3b1d0660274ea69f91719efe","user":{"login":"monetizeio","id":1245636,"avatar_url":"https://avatars.githubusercontent.com/u/1245636?v=3","gravatar_id":"","url":"https://api.github.com/users/monetizeio","html_url":"https://github.com/monetizeio","followers_url":"https://api.github.com/users/monetizeio/followers","following_url":"https://api.github.com/users/monetizeio/following{/other_user}","gists_url":"https://api.github.com/users/monetizeio/gists{/gist_id}","starred_url":"https://api.github.com/users/monetizeio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monetizeio/subscriptions","organizations_url":"https://api.github.com/users/monetizeio/orgs","repos_url":"https://api.github.com/users/monetizeio/repos","events_url":"https://api.github.com/users/monetizeio/events{/privacy}","received_events_url":"https://api.github.com/users/monetizeio/received_events","type":"User","site_admin":false},"repo":{"id":3149061,"name":"sqlalchemy-orm-tree","full_name":"monetizeio/sqlalchemy-orm-tree","owner":{"login":"monetizeio","id":1245636,"avatar_url":"https://avatars.githubusercontent.com/u/1245636?v=3","gravatar_id":"","url":"https://api.github.com/users/monetizeio","html_url":"https://github.com/monetizeio","followers_url":"https://api.github.com/users/monetizeio/followers","following_url":"https://api.github.com/users/monetizeio/following{/other_user}","gists_url":"https://api.github.com/users/monetizeio/gists{/gist_id}","starred_url":"https://api.github.com/users/monetizeio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monetizeio/subscriptions","organizations_url":"https://api.github.com/users/monetizeio/orgs","repos_url":"https://api.github.com/users/monetizeio/repos","events_url":"https://api.github.com/users/monetizeio/events{/privacy}","received_events_url":"https://api.github.com/users/monetizeio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monetizeio/sqlalchemy-orm-tree","description":"An implementation for SQLAlchemy-based applications of the nested-sets/modified-pre-order-tree-traversal technique for storing hierarchical data in a relational database.","fork":false,"url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree","forks_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/forks","keys_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/teams","hooks_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/hooks","issue_events_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues/events{/number}","events_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/events","assignees_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/assignees{/user}","branches_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/branches{/branch}","tags_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/tags","blobs_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/languages","stargazers_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/stargazers","contributors_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/contributors","subscribers_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/subscribers","subscription_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/subscription","commits_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/contents/{+path}","compare_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/merges","archive_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/downloads","issues_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues{/number}","pulls_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/labels{/name}","releases_url":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/releases{/id}","created_at":"2012-01-10T22:03:29Z","updated_at":"2015-04-17T22:05:05Z","pushed_at":"2015-05-23T12:34:17Z","git_url":"git://github.com/monetizeio/sqlalchemy-orm-tree.git","ssh_url":"git@github.com:monetizeio/sqlalchemy-orm-tree.git","clone_url":"https://github.com/monetizeio/sqlalchemy-orm-tree.git","svn_url":"https://github.com/monetizeio/sqlalchemy-orm-tree","homepage":"","size":478,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":8,"forks":8,"open_issues":8,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/26"},"html":{"href":"https://github.com/monetizeio/sqlalchemy-orm-tree/pull/26"},"issue":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues/26"},"comments":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/monetizeio/sqlalchemy-orm-tree/statuses/b108abfd120603c7a9bd150a48260f20da3b8b99"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"maaku","id":69154,"avatar_url":"https://avatars.githubusercontent.com/u/69154?v=3","gravatar_id":"","url":"https://api.github.com/users/maaku","html_url":"https://github.com/maaku","followers_url":"https://api.github.com/users/maaku/followers","following_url":"https://api.github.com/users/maaku/following{/other_user}","gists_url":"https://api.github.com/users/maaku/gists{/gist_id}","starred_url":"https://api.github.com/users/maaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maaku/subscriptions","organizations_url":"https://api.github.com/users/maaku/orgs","repos_url":"https://api.github.com/users/maaku/repos","events_url":"https://api.github.com/users/maaku/events{/privacy}","received_events_url":"https://api.github.com/users/maaku/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":113,"deletions":5,"changed_files":4}}