Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/t/u/turkic-0.2.4/turkic/server.py   turkic(Download)
import json
from turkic.database import session
from turkic.models import EventLog
 
handlers = {}
    for timestamp, domain, message in events:
        timestamp = datetime.fromtimestamp(int(timestamp) / 1000)
        event = EventLog(hit = hit, domain = domain, message = message,
                         timestamp = timestamp)
        session.add(event)