def to_row(advice):
return [<EOL>advice.id,<EOL>advice.administration,<EOL>advice.type,<EOL>advice.session.year,<EOL>advice.session.strftime('<STR_LIT>'),<EOL>advice.subject,<EOL>'<STR_LIT:U+002CU+0020>'.join(advice.topics),<EOL>'<STR_LIT:U+002CU+0020>'.join(advice.tags),<EOL>'<STR_LIT:U+002CU+0020>'.join(advice.meanings),<EOL>ROMAN_NUMS.get(advice.part, '<STR_LIT>'),<EOL>advice.content,<EOL>]<EOL>
Serialize an advice into a CSV row