relevanceai.api.batch.local_logger

Local logger for pull_update_push.

Module Contents

Classes

PullUpdatePushLocalLogger

This logger class is specifically for pull_update_push to log

class relevanceai.api.batch.local_logger.PullUpdatePushLocalLogger(filename: Union[str, bytes])

Bases: relevanceai.logger.LoguruLogger

This logger class is specifically for pull_update_push to log failures locally as opposed to on the cloud.

log_ids(self, id_list, verbose: bool = True)

Log the failed IDs to the file

count_ids_in_fn(self) int

Returns total count of failed IDs