summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/__init__.py
blob: bbb57955badb086d40b5cfab70163d021f1c920b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# __init__.py
# Copyright (C) 2005,2006 Michael Bayer mike_mp@zzzcomputing.com
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php

from engine import *
from types import *
from sql import *
from schema import *
from exceptions import *
import mapping as mapperlib
from mapping import *
import sqlalchemy.schema
import sqlalchemy.ext.proxy
sqlalchemy.schema.default_engine = sqlalchemy.ext.proxy.ProxyEngine()

from sqlalchemy.mods import install_mods

def global_connect(*args, **kwargs):
    sqlalchemy.schema.default_engine.connect(*args, **kwargs)