Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/d/mdemos.server-1.0.1dev/mdemos/server/websetup/bootstrap.py   mdemos.server(Download)
 
        model.DBSession.add(u1)
        model.DBSession.flush()
        transaction.commit()
    except IntegrityError:

src/m/d/mdemos.server-1.0.1dev/mdemos/server/tests/models/__init__.py   mdemos.server(Download)
            self.obj = self.klass(**new_attrs)
            DBSession.add(self.obj)
            DBSession.flush()
            return self.obj
        except: