コード例 #1
0
ファイル: sync_test.py プロジェクト: wingjay/jianshi
def test_sync_log():
    log_items = [
        {"event_name": "home_page_impression", "page_source": None, "time_created": int(time.time())},
        {"event_name": "home_create_btn_clk", "page_source": None, "time_created": int(time.time())},
        {"event_name": "home_delete_btn_clk", "page_source": None, "time_created": int(time.time())},
        {"event_name": "view_update_btn_clk", "page_source": None, "time_created": int(time.time())},
    ]
    logic_sync.sync_event_log(1, log_items)
コード例 #2
0
ファイル: sync.py プロジェクト: wingjay/jianshi
def sync_event_log(user_id, log_items, **kwargs):
    return logic_sync.sync_event_log(user_id, log_items)
コード例 #3
0
def sync_event_log(user_id, log_items, **kwargs):
    return logic_sync.sync_event_log(user_id, log_items)