<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mark_best_classification(text_log_error, classified_failure):
 """ Wrapper for setting best_classification on both TextLogError and FailureLine. Set the given ClassifiedFailure as best_classification for the given TextLogError. Handles the duplication of best_classification on FailureLine so you don't have to! """

    text_log_error.metadata.best_classification = classified_failure
    text_log_error.metadata.save(update_fields=['best_classification'])
    text_log_error.metadata.failure_line.elastic_search_insert()