def __get_ac_row(self, ac: model.AssetClass) -> AssetAllocationViewModel:
view_model = AssetAllocationViewModel()<EOL>view_model.depth = ac.depth<EOL>view_model.name = ac.name<EOL>view_model.set_allocation = ac.allocation<EOL>view_model.curr_allocation = ac.curr_alloc<EOL>view_model.diff_allocation = ac.alloc_diff<EOL>view_model.alloc_diff_perc = ac.alloc_diff_perc<EOL>view_model.curr_value = ac.curr_value<EOL>view_model.set_value = ac.alloc_value<EOL>view_model.diff_value = ac.value_diff<EOL>return view_model<EOL>
Formats one Asset Class record