#NEWLINE# def save( self , session = None ) : #NEWLINE# #INDENT# 'Save this object' #NEWLINE# session = ( session or glance . registry . db . api . get_session ( ) ) #NEWLINE# session . add ( self ) #NEWLINE# session . flush ( )