#NEWLINE# @ classmethod #NEWLINE# def save_result( cls , domain , location_id , start_date , end_date , report_slug , rows , name ) : #NEWLINE# #INDENT# if ( ( not cls . _validate_params ( [ domain , location_id , report_slug ] ) ) or ( not isinstance ( rows , dict ) ) or ( len ( rows ) == 0 ) or ( not isinstance ( start_date , date ) ) or ( not isinstance ( end_date , date ) ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# FixtureReportResult ( domain = domain , location_id = location_id , start_date = start_date , end_date = end_date , report_slug = report_slug , rows = rows , name = name ) . save ( )