def __init__(self, provider_name, account_id, namespace_id, poll_frequency=300): self._provider_name = provider_name self.log = logger.new(account_id=account_id, component='contact sync') self.log.info('Begin syncing contacts...') BaseSync.__init__(self, account_id, namespace_id, poll_frequency)
def __init__(self, provider_name, account_id, namespace_id, poll_frequency=300): bind_context(self, 'contactsync', account_id) self.log = logger.new(account_id=account_id, component='contact sync') self.log.info('Begin syncing contacts...') BaseSync.__init__(self, account_id, namespace_id, poll_frequency, -1, 'Contacts', provider_name)
def __init__(self, provider_name, account_id, namespace_id, poll_frequency=None): if poll_frequency is None: poll_frequency = __provider_poll_frequency__.get(provider_name, 300) self._provider_name = provider_name self.log = logger.new(account_id=account_id, component='event sync') self.log.info('Begin syncing Events...') BaseSync.__init__(self, account_id, namespace_id, poll_frequency)
def __init__(self, account_id, poll_frequency=300): self.log = logger.new(account_id=account_id, component='event sync') self.log.info('Begin syncing Events...') BaseSync.__init__(self, account_id, poll_frequency)