{"action":"closed","issue":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/95","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/95/comments","events_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/95/events","html_url":"https://github.com/ahelsing/tickettest2/issues/95","id":78314636,"number":95,"title":"avoid extra SQLalchemy sessions","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ahelsing/tickettest2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ahelsing/tickettest2/labels/general","name":"general","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"MarshallBrinn","id":3009742,"avatar_url":"https://avatars.githubusercontent.com/u/3009742?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshallBrinn","html_url":"https://github.com/MarshallBrinn","followers_url":"https://api.github.com/users/MarshallBrinn/followers","following_url":"https://api.github.com/users/MarshallBrinn/following{/other_user}","gists_url":"https://api.github.com/users/MarshallBrinn/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallBrinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallBrinn/subscriptions","organizations_url":"https://api.github.com/users/MarshallBrinn/orgs","repos_url":"https://api.github.com/users/MarshallBrinn/repos","events_url":"https://api.github.com/users/MarshallBrinn/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallBrinn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/8","html_url":"https://github.com/ahelsing/tickettest2/milestones/1.2","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/8/labels","id":1119582,"number":8,"title":"1.2","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-05-20T00:44:49Z","updated_at":"2015-05-20T01:04:06Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-05-20T01:03:39Z","updated_at":"2015-05-20T01:04:06Z","closed_at":"2015-05-20T01:04:06Z","body":"In general, there should be 1 SQLAlchemy session per API method invocation.\r\n\r\nCertainly though, there should only be one per function\r\n\r\nLook for examples of this and fix them\n\n _Imported from trac ticket [#95](http://trac.gpolab.bbn.com/chapi/ticket/95),  created by ahelsing on 11-28-2013 at 06:55, last modified: 12-12-2013 at 15:40_\n"}}