#NEWLINE# def create_group( self , bucket_id , group_id , members = None ) : #NEWLINE# #INDENT# if ( members is None ) : #NEWLINE# #INDENT# group = MINIMALIST_GROUP #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# group = { #NEWLINE# #INDENT# 'data' : { #NEWLINE# #INDENT# 'members' : members , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# group_url = ( '/buckets/%s/groups/%s' % ( bucket_id , group_id ) ) #NEWLINE# self . app . put_json ( group_url , group , headers = self . headers , status = 201 )