示例#1
0
文件: gmail.py 项目: PaulReiber/inbox
def initial_sync(conn_pool, db_session, log, folder_name, shared_state):
    with conn_pool.get() as crispin_client:
        return base_initial_sync(crispin_client, db_session, log, folder_name,
                                 shared_state, gmail_initial_sync,
                                 create_gmail_message)
示例#2
0
def initial_sync(conn_pool, log, folder_name, shared_state):
    with conn_pool.get() as crispin_client:
        return base_initial_sync(crispin_client, log, folder_name,
                                 shared_state, imap_initial_sync,
                                 imap_create_message)
示例#3
0
def initial_sync(conn_pool, log, folder_name, shared_state):
    with conn_pool.get() as crispin_client:
        return base_initial_sync(crispin_client, log, folder_name,
                                 shared_state, imap_initial_sync,
                                 imap_create_message)