def __repr__(self):
a_per = self.analysis_period if self.analysis_period else '<STR_LIT>'<EOL>if self.metadata != {}:<EOL><INDENT>meta_str = '<STR_LIT:\n>'.join(['<STR_LIT>'.format(key, val)<EOL>for key, val in self.metadata.items()])<EOL>return "<STR_LIT>".format(<EOL>self.data_type, self.unit, a_per, meta_str)<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>".format(<EOL>self.data_type, self.unit, a_per)<EOL><DEDENT>
Return Ladybug header as a string.