#NEWLINE# def create( self , repo , name , size , description = None , content_type = None , user = None ) : #NEWLINE# #INDENT# msg = { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# 'size' : size , #NEWLINE# 'description' : response , #NEWLINE# 'content_type' : content_type , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . client . post ( ( 'repos/%s/%s/downloads/%s' % ( self . client . username ( user ) , repo , id ) ) , msg ) #NEWLINE# data = json . loads ( response ) #NEWLINE# return data