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

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

src/c/u/cubes-1.0alpha/cubes/backends/sql/logging.py   cubes(Download)
# -*- coding=utf -*-
 
from __future__ import absolute_import
 
from ...server.logging import RequestLogHandler, REQUEST_LOG_ITEMS
class SQLRequestLogHandler(RequestLogHandler):
    def __init__(self, url=None, table=None, dimensions_table=None, **options):
 
        self.url = url
        self.engine = create_sqlalchemy_engine(url, options)

src/c/u/cubes-HEAD/cubes/backends/sql/logging.py   cubes(Download)
# -*- coding=utf -*-
 
from __future__ import absolute_import
 
from ...server.logging import RequestLogHandler, REQUEST_LOG_ITEMS
class SQLRequestLogHandler(RequestLogHandler):
    def __init__(self, url=None, table=None, dimensions_table=None, **options):
 
        self.url = url
        self.engine = create_sqlalchemy_engine(url, options)