#NEWLINE# def creategroup( self , name , path , **kwargs ) : #NEWLINE# #INDENT# 'Creates a new group\n\n        :param name: The name of the group\n        :param path: The path for the group\n        :param kwargs: Any param the the Gitlab API supports\n        :return: dict of the new group\n        ' #NEWLINE# data = { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# 'path' : path , #NEWLINE# #UNINDENT# } #NEWLINE# if kwargs : #NEWLINE# #INDENT# data . update ( kwargs ) #NEWLINE# #UNINDENT# request = requests . post ( self . groups_url , data = data , headers = self . headers , verify = self . verify_ssl , auth = self . auth , timeout = self . timeout ) #NEWLINE# if ( request . status_code == 201 ) : #NEWLINE# #INDENT# return request . json ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# msg = request . json ( ) [ 'message' ] #NEWLINE# raise exceptions . HttpError ( msg )