def update_user_list_v1(domain): gmail = GmailService() logging.info(gmail.update_user_list_v1(domain, "*****@*****.**")) del gmail # Force garbage collection
def refresh_domain_v1(domain, queue_time): gmail = GmailService() gmail.refresh_domain_v1(domain, queue_time) del gmail # Force garbage collection
def check_account_v1(email, new_history_id, **kwargs): gmail = GmailService() gmail.check_account_v1(email, new_history_id, **kwargs) del gmail # Force garbage collection
def setUp(self): self.gmail = GmailService()