#NEWLINE# def get_previous_month( self ) : #NEWLINE# #INDENT# 'Returns date range for the previous full month.' #NEWLINE# end = ( utils . get_month_start ( ) - relativedelta ( days = 1 ) ) #NEWLINE# end = utils . to_datetime ( end ) #NEWLINE# start = utils . get_month_start ( end ) #NEWLINE# return ( start , end )