def __format_row(self, row: AssetAllocationViewModel):
output = "<STR_LIT>"<EOL>index = <NUM_LIT:0><EOL>value = row.name<EOL>for _ in range(<NUM_LIT:0>, row.depth):<EOL><INDENT>value = f"<STR_LIT>"<EOL><DEDENT>output += self.append_text_column(value, index)<EOL>value = "<STR_LIT>"<EOL>index += <NUM_LIT:1><EOL>if row.set_allocation > <NUM_LIT:0>:<EOL><INDENT>value = f"<STR_LIT>"<EOL><DEDENT>output += self.append_num_column(value, index)<EOL>value = "<STR_LIT>"<EOL>index += <NUM_LIT:1><EOL>if row.curr_allocation > Decimal(<NUM_LIT:0>):<EOL><INDENT>value = f"<STR_LIT>"<EOL><DEDENT>output += self.append_num_column(value, index)<EOL>value = "<STR_LIT>"<EOL>index += <NUM_LIT:1><EOL>if row.alloc_diff_perc.copy_abs() > Decimal(<NUM_LIT:0>):<EOL><INDENT>value = f"<STR_LIT>"<EOL><DEDENT>output += self.append_num_column(value, index)<EOL>index += <NUM_LIT:1><EOL>value = "<STR_LIT>"<EOL>if row.set_value:<EOL><INDENT>value = f"<STR_LIT>"<EOL><DEDENT>output += self.append_num_column(value, index)<EOL>index += <NUM_LIT:1><EOL>value = f"<STR_LIT>"<EOL>output += self.append_num_column(value, index)<EOL>index += <NUM_LIT:1><EOL>if self.full:<EOL><INDENT>value = "<STR_LIT>"<EOL>if row.curr_value_own_currency:<EOL><INDENT>value = f"<STR_LIT>"<EOL>value += f"<STR_LIT>"<EOL>value += "<STR_LIT:)>"<EOL><DEDENT>output += self.append_num_column(value, index)<EOL><DEDENT>index += <NUM_LIT:1><EOL>value = "<STR_LIT>"<EOL>if row.diff_value:<EOL><INDENT>value = f"<STR_LIT>"<EOL><DEDENT>output += self.append_num_column(value, index)<EOL>return output<EOL>
display-format one row
        Formats one Asset Class record