#NEWLINE# def _create_group( self , values , user_id = None , project_id = None ) : #NEWLINE# #INDENT# user_ctxt = context . RequestContext ( values , project_id ) #NEWLINE# values [ 'gid' ] = unicode ( uuid . uuid4 ( ) ) #NEWLINE# values [ 'user_id' ] = user_id #NEWLINE# values [ 'project_id' ] = project_id #NEWLINE# v = self . _get_base_values ( ) #NEWLINE# v . update ( values ) #NEWLINE# return db . group_create ( user_ctxt , v )