#NEWLINE# def run( self , title , body , topic = None , status = 0 ) : #NEWLINE# #INDENT# if topic : #NEWLINE# #INDENT# topic = self . _convert_slug ( topic ) #NEWLINE# path = ( '/topics/%s/articles' % topic ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# path = '/articles' #NEWLINE# #UNINDENT# payload = self . _create_article ( title = response , body = body , status = status ) #NEWLINE# response = self . _api_post ( path , json = payload ) #NEWLINE# return response