Skip to content
Snippets Groups Projects
Verified Commit 3c931c03 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add __str__ method for data check result model

parent 290b8469
No related branches found
No related tags found
1 merge request!389Add data check system
Pipeline #4671 failed
......@@ -823,6 +823,9 @@ class DataCheckResult(ExtensibleModel):
def solve(self, solve_option: str = "default"):
self.related_check.solve(self, solve_option)
def __str__(self):
return f"{self.related_object}: {self.related_check.problem_name}"
class Meta:
verbose_name = _("Data check result")
verbose_name_plural = _("Data check results")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment