def __init__(self, auth_user, auth_pass): self.log = LoggerManager().get_new_logger("result publication mail") self.rest_api_helper = RestApiHelper( auth_user, auth_pass, http_mail_serializer=PublishResultsVisitorMail.HTTP_MAIL_SERIALIZER )
def __init__(self, auth_user, auth_pass): """ Constructor """ self.log = LoggerManager().get_new_logger("auto correction selection") self.rest_api_helper = RestApiHelper( auth_user, auth_pass, AutomaticCorrectionSelectionStrategyThroughRestApi. HTTP_AUTOMATIC_CORRECTION_SERIALIZER)
def __init__(self, auth_user, auth_pass): self.log = LoggerManager().get_new_logger("result publication") self.rest_api_helper = RestApiHelper( auth_user, auth_pass, PublishResultsVisitorWeb.HTTP_MAIL_SERIALIZER)