def __repr__(self): str_repr = obj_repr(self, self.repr_ignore_attr()) if hasattr(self, "metadata") and self.metadata: str_repr += "Metadata:\n" + obj_repr(self.metadata, filter_list_zeros=True) if hasattr(self, "metadata_qti") and self.metadata_qti: str_repr += "Metadata QTI:\n" + obj_repr(self.metadata_qti, filter_list_zeros=True) return str_repr
def __repr__(self): return obj_repr(self)
def __repr__(self): return obj_repr(self, self.repr_ignore_attr())