Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/m/e/mediagoblin-0.6.1/mediagoblin/db/open.py   mediagoblin(Download)
    def commit(self):
        Session.commit()
 
    def save(self, obj):
        Session.add(obj)

src/j/o/JoshuaGoblin-HEAD/mediagoblin/db/open.py   JoshuaGoblin(Download)
    def commit(self):
        Session.commit()
 
    def save(self, obj):
        Session.add(obj)

src/m/e/mediagoblin-0.6.1/mediagoblin/moderation/tools.py   mediagoblin(Download)
 
    Session.add(report)
    Session.commit()
    if message_body:
        send_email(

src/j/o/JoshuaGoblin-HEAD/mediagoblin/moderation/tools.py   JoshuaGoblin(Download)
 
    Session.add(report)
    Session.commit()
    if message_body:
        send_email(

src/m/e/mediagoblin-0.6.1/mediagoblin/user_pages/lib.py   mediagoblin(Download)
 
    if commit:
        Session.commit()
 
def build_report_object(report_form, media_entry=None, comment=None):

src/m/e/mediagoblin-0.6.1/mediagoblin/db/util.py   mediagoblin(Download)
def atomic_update(table, query_dict, update_values):
    table.query.filter_by(**query_dict).update(update_values,
    	synchronize_session=False)
    Session.commit()
 
    # q2.delete(synchronize_session = False)
    if commit:
        Session.commit()
 
 

src/j/o/JoshuaGoblin-HEAD/mediagoblin/user_pages/lib.py   JoshuaGoblin(Download)
 
    if commit:
        Session.commit()
 
def build_report_object(report_form, media_entry=None, comment=None):

src/j/o/JoshuaGoblin-HEAD/mediagoblin/db/util.py   JoshuaGoblin(Download)
def atomic_update(table, query_dict, update_values):
    table.query.filter_by(**query_dict).update(update_values,
    	synchronize_session=False)
    Session.commit()
 
    # q2.delete(synchronize_session = False)
    if commit:
        Session.commit()