summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/__init__.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-01-21 20:10:23 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-01-21 20:10:23 -0500
commit07fb90c6cc14de6d02cf4be592c57d56831f59f7 (patch)
tree050ef65db988559c60f7aa40f2d0bfe24947e548 /lib/sqlalchemy/__init__.py
parent560fd1d5ed643a1b0f95296f3b840c1963bbe67f (diff)
parentee1f4d21037690ad996c5eacf7e1200e92f2fbaa (diff)
downloadsqlalchemy-ticket_2501.tar.gz
Merge branch 'master' into ticket_2501ticket_2501
Conflicts: lib/sqlalchemy/orm/mapper.py
Diffstat (limited to 'lib/sqlalchemy/__init__.py')
-rw-r--r--lib/sqlalchemy/__init__.py29
1 files changed, 17 insertions, 12 deletions
diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py
index 2c805e607..1d1f8c4aa 100644
--- a/lib/sqlalchemy/__init__.py
+++ b/lib/sqlalchemy/__init__.py
@@ -1,11 +1,9 @@
# sqlalchemy/__init__.py
-# Copyright (C) 2005-2013 the SQLAlchemy authors and contributors <see AUTHORS file>
+# Copyright (C) 2005-2014 the SQLAlchemy authors and contributors <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
-import inspect as _inspect
-import sys
from .sql import (
alias,
@@ -23,6 +21,7 @@ from .sql import (
except_all,
exists,
extract,
+ false,
func,
insert,
intersect,
@@ -40,6 +39,7 @@ from .sql import (
select,
subquery,
text,
+ true,
tuple_,
type_coerce,
union,
@@ -97,7 +97,6 @@ from .schema import (
Column,
ColumnDefault,
Constraint,
- DDL,
DefaultClause,
FetchedValue,
ForeignKey,
@@ -110,19 +109,25 @@ from .schema import (
Table,
ThreadLocalMetaData,
UniqueConstraint,
- )
+ DDL,
+)
-from .inspection import inspect
+from .inspection import inspect
from .engine import create_engine, engine_from_config
+__version__ = '0.9.2'
-__all__ = sorted(name for name, obj in locals().items()
- if not (name.startswith('_') or _inspect.ismodule(obj)))
+def __go(lcls):
+ global __all__
-__version__ = '0.9.0'
+ from . import events
+ from . import util as _sa_util
-del _inspect, sys
+ import inspect as _inspect
+
+ __all__ = sorted(name for name, obj in lcls.items()
+ if not (name.startswith('_') or _inspect.ismodule(obj)))
-from . import util as _sa_util
-_sa_util.importlater.resolve_all()
+ _sa_util.dependencies.resolve_all("sqlalchemy")
+__go(locals()) \ No newline at end of file