def create_match(self, matcher_name, classification):
        """
        Create a TextLogErrorMatch instance

        Typically used for manual "matches" or tests.
        """
        if classification is None:
            classification = ClassifiedFailure.objects.create()

        TextLogErrorMatch.objects.create(
            text_log_error=self,
            classified_failure=classification,
            matcher_name=matcher_name,
            score=1,
        )
def create_match ( self , matcher_name , classification ) : if classification is None : classification = ClassifiedFailure . objects . create ( ) TextLogErrorMatch . objects . create ( text_log_error = self , classified_failure = classification , matcher_name = matcher_name , score = 1 , )
Create a TextLogErrorMatch instance

        Typically used for manual "matches" or tests.