<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_report(self, current_type, report_data):
 """Parse a report into an IOTileReport subclass"""


        fmt = self.known_formats[current_type]
        return fmt(report_data)