def get_report(self, value):
if self.multiselect:<EOL><INDENT>value = value or []<EOL>children = []<EOL>for child in value:<EOL><INDENT>children.append(self.cast_to_report(child))<EOL><DEDENT>return children<EOL><DEDENT>return self.cast_to_report(value)<EOL>
Return provided field Python value formatted for use in report filter