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

All Samples(12)  |  Call(1)  |  Derive(5)  |  Import(6)

src/h/t/HTSQL-2.3.3/src/htsql/tweak/django/connect.py   HTSQL(Download)
#
# Copyright (c) 2006-2013, Prometheus Research, LLC
#
 
from ...core.connect import Connect, Transact, connect

src/h/t/HTSQL-2.3.3/src/htsql/tweak/django/connect.py   HTSQL(Download)
    def __enter__(self):
        self.is_nested = True
        self.is_managed = True
        if context.env.connection is None:
            connection = connect()