def __init__(self, api_call, log_queue, log_type): self.api_call = api_call self.log_queue = log_queue self.log_type = log_type self.log_offset = get_log_offset(self.log_type, Config.get_checkpointing_enabled(), Config.get_checkpoint_dir())
def __init__(self, api_call, log_queue, log_type, account_id=None, url_path=None): self.api_call = api_call self.log_queue = log_queue self.log_type = log_type self.account_id = account_id self.log_offset = get_log_offset( self.log_type, Config.get_checkpointing_enabled(), Config.get_checkpoint_dir(), self.account_id) self.url_path = url_path